WINDOWS TITLE

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
RTAIRA

WINDOWS TITLE

Post by RTAIRA » Thu Dec 18, 2003 6:10 pm

i have been trying to run a macro using the window title to use waitwindowopen, waitwindowclosed, and can use the wait command to get by, but would rather use window commands. the problem is even when i use the wildcard, the macro can't seem to get the right window title. i have tried to use the view window option, but i get and access violation error message. how can i see what the actual window title is?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Dec 18, 2003 10:39 pm

Please provide sample of macro that does not work.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Fri Dec 19, 2003 2:33 am

Hi RTAIRA,

There are trillion possibilities matching your described scanario. Often it could be a timing isuse. A samle script will be extremely helpful to help us help you. Alternatively, you may try out GetActiveWindow to find out the currently active window.

Label>Start
GetActiveWindow>Window,X,Y
Msg>Window
Label>End

Happy scripting.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts