inmysights Posted August 2, 2009 Share Posted August 2, 2009 Hello, I am new to autoit and think it is a great tool! I have read some of the tutorials and understand the basics to get going now. I have one question which seems rather simple to do but I think I am missing something. can you please explain if I understand this wrong: ; Run Notepad Run("notepad.exe") ; Wait for the Notepad become active - it is titled "Untitled - Notepad" on English systems WinWaitActive("Untitled - Notepad") Does WinWaitActive set the focus for the script to run on that instance of that notepad? that is how I am reading that. I tried to make my own script with this, and it just runs on my desktop, it wont set focus to the screen I have open, how do you set autoit to run a script on a open window? Thank you! Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now