Cyote101 Posted March 22, 2008 Share Posted March 22, 2008 (edited) Well I think the following should work, but it does not. Any Ideas WinActive( "TPS REPORT") WinWaitActive( "TPS REPORT") Send("{LEFT}") WinActive( "Book Helper") What happens is the code pauses until i click on the TPS REPORT and then the code resumes and runs everything else okay. I want it to do it by itself. Thanks Edited March 22, 2008 by Cyote101 Link to comment Share on other sites More sharing options...
covaks Posted March 22, 2008 Share Posted March 22, 2008 Use WinActivate to actually give it focus. WinActive just checks if it has focus or not. Link to comment Share on other sites More sharing options...
Cyote101 Posted March 22, 2008 Author Share Posted March 22, 2008 Use WinActivate to actually give it focus. WinActive just checks if it has focus or not.Thanks! Opps! Link to comment Share on other sites More sharing options...
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