Sign in to follow this  
Followers 0
Cyote101

Run While

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

You 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.

Share this post


Link to post
Share on other sites

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,

Share this post


Link to post
Share on other sites

It's the same general idea, If I were you, I'd create one topic, and ask all your questions! :)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0