lol98 0 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 Share this post Link to post Share on other sites
ezzetabi 3 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 Share this post Link to post Share on other sites
scriptkitty 1 Posted April 2, 2004 maybe substitute this though: SetHotKey("^{esc}","_Terminate"); control and esc key AutoIt3, the MACGYVER Pocket Knife for computers. Share this post Link to post Share on other sites