Hi, I am wondering how would I be able to get the name of the window that just opened? After I click something a window will pop up and I need to move it. Theres going to be a lot of windows with very similar names, but different names everytime that I can't predict. When the window pops up there is a good chance that it won't be the active window anymore.
So, I need to know how do I get the name of the window that just popped up so that when it's not the active window anymore, I can setfocus to it and move it.
Thanks
Getting name of window that just opened
Moderators: Dorian (MJT support), JRL
Hi nOrm41,
Here is what you want:
All of the parms are variables for the function to return information.
Gale
Here is what you want:
Code: Select all
GetActiveWindow>window_title,X,Y,Width,Height
MDL:Actve window title: %window_title%
MDL:Active window located at: X:%X% Y:%Y%
MDL:Active window size: Width:%Width% Height:%Height%
Gale