Cyote101 Posted March 23, 2008 Share Posted March 23, 2008 Hello, I'm looking for a way to have an exe run and do the following while "TPS REPORT" is active or runnig. I can launch such a program at the start up of "TPS REPORT" and would like it to monitor and adjust for the following actions. IF "TPS REPORT" is not the Active window then WinSetOnTop("Book Helper", "", 0) If "TPS Report" is the Active window then apply WinSetOnTop("Book Helper", "", 1) If "TPS Report" is minimized then WinSetState("Book Helper", "", @SW_MINIMIZE) If "TPS Report" is maximized then WinSetState("Book Helper", "", @SW_MAXIMIZE) If "TPS Report" is Closed then WinClose("Book Helper", "") I'm just now sure how to write the If statements to accomplish this. any help would be awsome! Thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 23, 2008 Moderators Share Posted March 23, 2008 Hello, I'm looking for a way to have an exe run and do the following while "TPS REPORT" is active or runnig. I can launch such a program at the start up of "TPS REPORT" and would like it to monitor and adjust for the following actions.IF "TPS REPORT" is not the Active window then WinSetOnTop("Book Helper", "", 0)If "TPS Report" is the Active window then apply WinSetOnTop("Book Helper", "", 1)If "TPS Report" is minimized then WinSetState("Book Helper", "", @SW_MINIMIZE) If "TPS Report" is maximized then WinSetState("Book Helper", "", @SW_MAXIMIZE) If "TPS Report" is Closed then WinClose("Book Helper", "") I'm just now sure how to write the If statements to accomplish this. any help would be awsome!ThanksYou have like 10 topics out on this. Don't start another one. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Cyote101 Posted March 23, 2008 Author Share Posted March 23, 2008 Okay, I would like to point out that this post is actually a new post on a new approach to another problem It is not a carbon copy of any other post, although i can see how it can look like it is not. Thanks, Link to comment Share on other sites More sharing options...
Swift Posted March 23, 2008 Share Posted March 23, 2008 It's the same general idea, If I were you, I'd create one topic, and ask all your questions! 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