Created
June 13, 2013 13:39
-
-
Save talatham/5773746 to your computer and use it in GitHub Desktop.
AutoIt script to auto-move the mouse. Run the script and use ` to toggle.
This file contains hidden or 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
$bMouseMove = 0 | |
HotKeySet( "`", "toggle" ) | |
While 1 | |
Sleep(10) | |
If $bMouseMove = 1 Then | |
$bMouseMove = 2 | |
MouseMove(100,100) | |
ElseIf $bMouseMove = 2 Then | |
$bMouseMove = 1 | |
MouseMove(200,200) | |
EndIf | |
WEnd | |
Func toggle() | |
$bMouseMove = Not $bMouseMove | |
EndFunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment