Skip to content

Instantly share code, notes, and snippets.

@konijn
Created September 3, 2020 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konijn/adea7cba0d436587196641065956842a to your computer and use it in GitHub Desktop.
Save konijn/adea7cba0d436587196641065956842a to your computer and use it in GitHub Desktop.
Forever awake
CoordMode, Mouse, Screen
MouseGetPos, CurrentX, CurrentY
Loop {
Sleep, 60000
LastX := CurrentX
LastY := CurrentY
MouseGetPos, CurrentX, CurrentY
If (CurrentX = LastX and CurrentY = LastY) {
MouseMove, 1, 1, , R
Sleep, 100
MouseMove, -1, -1, , R
}
}
@konijn
Copy link
Author

konijn commented Sep 3, 2020

Only use this is in physically secure locations!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment