Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 windows with the same name
#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+).


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)