Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 windows with the same name
#1
if i have 2 windows with the same name for example "Quick Macros :: Post a new topic" but i want each window to type something differant, what do i do. i looked it up in the "help" but didnt find it. i only post here if i really cant find the way to do it. thanx bro for your work. i speak for everyone when i say we appreciate it.
#2
Try matchindex argument that has been added in the latest QM 2.2.0 version. If there are 2 windows, win with machindex 1 will find one window, and with matchindex 2 will find another window.

int w1=win(... 1)
int w2=win(... 2)

w1 will be the one that is higher in the Z order, ie on top of another. If you need to use these windows later, use the variables. If you need to use these windows later in other macros or in other instance of this macro, use global variables instead (int+).
#3
thats great, im a little rusty but i remember that code. its been 6 to 8 months since i touched a pc. but im back using your program. i love it tc bro


Forum Jump:


Users browsing this thread: 1 Guest(s)