lilandywandy Posted June 22, 2005 Share Posted June 22, 2005 HotKeySet("{PAUSE}", "mExit")MouseClick("left", 568, 23, 1)While 1 If PixelGetColor(120,777) = Dec("7b7984") Then Sleep(500) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) EndIfWendMouseClick(XXXXX)MouseClick(XXXXX)MouseClick(XXXXX)MouseClick(XXXXX)MouseClick(XXXXX)Func mExit() ExitEndFunchow do i make it so that this program once turn on is click in those places, and stops when If PixelGetColor(120,777) = Dec("7b7984") and does that command, and then resume clicking?and also , the speed range 0 being fastest, whats slowest? Link to comment Share on other sites More sharing options...
buzz44 Posted June 22, 2005 Share Posted June 22, 2005 HotKeySet("{PAUSE}", "mExit") MouseClick("left", 568, 23, 1) While 1 If PixelGetColor(120,777) = Dec("7b7984") Then Sleep(500) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) Else MouseClick(XXXXX) MouseClick(XXXXX) MouseClick(XXXXX) MouseClick(XXXXX) MouseClick(XXXXX) EndIf Wend Func mExit() Exit EndFuncThe speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10. Straight out the help file... qq 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