Lunatic Posted June 26, 2008 Posted June 26, 2008 Been looking for a way to set up a script that will wait a random amount of time between mouse clicks, within a pre-defined range. (IE: Mouse click at random intervals ranging no less than 10ms and no more than 50ms.) Anyone have any ideas? [center][/center]
monoceres Posted June 26, 2008 Posted June 26, 2008 Check the help file for Sleep() and Random(). Broken link? PM me and I'll send you the file!
aslani Posted June 26, 2008 Posted June 26, 2008 Here's a little function I made to scare my wife Func _newCoords() $delay = Random(1452, 5658) $mouse_x_loc = Random (72, 1248) $mouse_y_loc = Random (42, 909) $mouse_mv_spd = Random (30, 90) MouseMove($mouse_x_loc, $mouse_y_loc, $mouse_mv_spd) Sleep($delay) EndFunc You can simply change the MouseMove() function with MouseClick() and make some modification to you liking. [font="Georgia"]Chances are, I'm wrong.[/font]HotKey trouble?Stringregexp GuideAutoIT Current Version
Lunatic Posted June 27, 2008 Author Posted June 27, 2008 Got what I needed working. Thanks for the help guys. [center][/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now