Hi.I have 3 windows with the same name.
How is it possible to get the active's window position and then set new position for the active window?
Thank you for your advice..
Windows with same name
Moderators: Dorian (MJT support), JRL
Re: Windows with same name
All windows have unique handles. GetActiveWindow> can retreive a window's handle rather than its name by setting the variable WIN_USEHANDLE to one.
Code: Select all
Let>WIN_USEHANDLE=1
GetActiveWindow>vTitle,Winx,WinY
MoveWindow>vTitle,20,20
Let>WIN_USEHANDLE=0
Re: Windows with same name
Thank you JRL.I ve never used handle before.Works great