prog81 Posted November 29, 2006 Posted November 29, 2006 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.
FuryCell Posted November 29, 2006 Posted November 29, 2006 (edited) WinActivate ("title") Edited November 29, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
prog81 Posted November 29, 2006 Author Posted November 29, 2006 WinActivate ("title") It worked, thanks!
FuryCell Posted November 29, 2006 Posted November 29, 2006 It worked, thanks! No problem. Welcome to the forums. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
LxP Posted December 1, 2006 Posted December 1, 2006 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')
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now