lol98 Posted April 2, 2004 Share Posted April 2, 2004 (edited) a script to click x652 y31 once every second and x687 y26 once every 4-5 seconds and run indefnitly till i close it ive got this far If WinActive("Untitled -") Then Do MouseClick ( "left" [, 652, 31 [, 1 [, 10 ]]] ) Sleep, (1000) MouseClick ( "left" [, 652, 31 [, 1 [, 10 ]]] ) Sleep,(1000) MouseClick ( "left" [, 652, 31 [, 1 [, 10 ]]] ) Sleep, (1000) MouseClick ( "left" [, 652, 31 [, 1 [, 10 ]]] ) Sleep, (1000) MouseClick ( "left" [, 687, 26 [, 1 [, 10 ]]] ) Untill <> EndIf Edited April 2, 2004 by lol98 Link to comment Share on other sites More sharing options...
ezzetabi Posted April 2, 2004 Share Posted April 2, 2004 What about... SetHotKey(^{esc},_Terminate) While 1 If WinActive("Untitled -") Then MouseClick ( "left" , 652, 31 , 1 , 10 ) Sleep, (1000) MouseClick ( "left" , 652, 31 , 1 , 10) Sleep,(1000) MouseClick ( "left" , 652, 31 , 1 , 10 ) Sleep, (1000) MouseClick ( "left", 652, 31 , 1 , 10 ) Sleep, (1000) MouseClick ( "left" , 687, 26 , 1 , 10 ) EndIf WEnd Func _Terminate() Exit EndFunc Link to comment Share on other sites More sharing options...
scriptkitty Posted April 2, 2004 Share Posted April 2, 2004 maybe substitute this though: SetHotKey("^{esc}","_Terminate"); control and esc key AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
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