Sign in to follow this  
Followers 0
cwem

How to manually decide when to auto

2 posts in this topic

The codes below are used to activate a window before submitting values in a form. However, it's annoying when I'm also active in front of screen. Does anybody have suggestions on adding some controls so I can manually decide when to automate the process (e.g. I sleep) and pause but not stop the process (e.g. I work)?

While 1

; looping a long list that may have, say, 10000 loops

Do

$success = WinActivate("Test Page - Windows Internet Explorer")

until $success = 1

WEnd

Share this post


Link to post
Share on other sites



HotKeySet. Use a function and loop inside of it while a variable is true and exit it back to the main script loop when a variables is false.

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