Sign in to follow this  
Followers 0
prog81

Inactive Window

5 posts in this topic

Hello,

How do I make an inactive window active so that I may enter text. An example of this is a windows with a prompt to enter a file name to open eg... "File > Open".

Thanks. ;)

Share this post


Link to post
Share on other sites



How do I make an inactive window active so that I may enter text. An example of this is a windows with a prompt to enter a file name to open eg... "File > Open".

To add to SolidSnake's advice, if you plan to automate the text entry after activating the window then you should consider calling WinWaitActive() after WinActivate():

WinActivate('The Window')
WinWaitActive('The Window')
Send('This text now has a better chance of reaching The Window')

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0