Jump to content

Recommended Posts

Posted

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. ;)

Posted

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')

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
×
×
  • Create New...