Created
October 30, 2014 10:15
-
-
Save jmc734/f0b068f2e151970b4e01 to your computer and use it in GitHub Desktop.
AutoHotkey script to randomly move a move a mouse within a set of bounds
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
N = 500 | |
W = 450 | |
H = 195 | |
R = 5 | |
offsetX = 15 | |
offsetY = 60 | |
CoordMode, Mouse, Screen | |
Loop, %N% | |
{ | |
Random, x, 1, %W% | |
Random, y, 1, %H% | |
Random, s, 1, %R% | |
x := x+offsetX | |
y := y+offsetY | |
MouseMove, %x%, %y%, %s% | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment