Last active
March 31, 2021 08:38
-
-
Save SIRprise/944c516f5d4fee83b4e0ecb6ca8e224a to your computer and use it in GitHub Desktop.
MouseMover
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
; AutoHotKey Script | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#Persistent | |
Hotkey, #c, CloseThis ; Enable Windows + C Hotkey | |
SetTimer, Klicker, 2000 | |
return | |
Klicker: | |
;Loop,3 | |
;{ | |
MouseMove, -40, 0, 5, R | |
MouseMove, 40, 0, 5, R | |
;MouseClick, left | |
; Sleep, 2000 | |
;} | |
;SetTimer,Klicker,Off | |
return | |
CloseThis: | |
SetTimer,Klicker,Off | |
;Hotkey, $+#c, Off | |
MsgBox You pressed %A_ThisHotkey%. Mouse Mover deactivated | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment