Created
February 3, 2015 03:42
-
-
Save jrichardsz/309253e66a4c4088f620 to your computer and use it in GitHub Desktop.
This script shows how use this autoit functions: autoit random HotKeySet mouseMove random MsgBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HotKeySet("{ESC}", "stop") | |
main() | |
Func main() | |
; Set the counter | |
$count = 0 | |
; Execute the loop "While" the counter is less than 5 | |
While $count < 5 | |
sleep(1000) | |
MouseMove(Random(10,450, 1),Random(10,450, 1),5) | |
; Increase the count by one | |
$count = $count + 1 | |
Wend | |
EndFunc | |
Func stop() | |
MsgBox(0, "AutoIt", "Stop") | |
EndFunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment