Sign in to follow this  
Followers 0
EasyCo

Need help: Adding pause to my script

4 posts in this topic

Hi , im new to using au3 :)

I need help. I would like to add a hotkey to pause my script.

Here is general idea of what my script looks like:

WinActivate("d1")
WinWaitActive("d1")
WinMove("d1", "", 1, 1)

Func Exit()
Sleep(5000)
Send("{ESC}")
Sleep(400)
MouseClick("left",393,255,1,2)
Sleep(5000)
MouseClick("left",573,453,1,2)
Sleep(500)
MouseClick("left",530,145,1,2)
Sleep(500)
Send("{BACKSPACE}")
Send("1")
Sleep(200)
Send("{TAB}")
Sleep(200)
Send("1")
Sleep(500000)

EndFunc

While 1
Exit()
Sleep(200)
Wend

Thanks for your help!

Share this post


Link to post
Share on other sites



Its right in the help file, and use search.

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