Gilzar Posted September 15, 2011 Share Posted September 15, 2011 ok so basically i want it to click the color (button) once it pops up my script works fine up until this (its is mostly moce n click this is about the most complex part as of yet) here is what i got so far $coord = PixelSearch(0, 0, 782, 464, 0x5893DA ) If Not @error Then MouseClick("left") EndIf it might be nooby cuz im a noob so please give me advice if u have any i also found one from google that might work but idk here it is While 1 = 1 $coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, 0x282723) If Not @error Then MouseClick("left", $coord[0], $coord[1], 1, 1) EndIf $coord = PixelSearch(0, 0, @DesktopWidth, @DesktopHeight, 0x282723) If Not @error Then MouseClick("left", $coord[0], $coord[1], 1, 1) EndIf WEnd Link to comment Share on other sites More sharing options...
Blue_Drache Posted September 15, 2011 Share Posted September 15, 2011 may have what you want. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Gilzar Posted September 17, 2011 Author Share Posted September 17, 2011 ok well this is just a very basic login script just move click move click but in the middle i have the pixelsearch to find and click on a menu that pops up (team ready, play now/wait) and i want to to click the play now and then keep moving and clicking but for some reason when i try it out it looks like it doesnt even do the action cuz it just goes from on to the pixelsearch and then without wating goes into the next set of moving and clicking which is for the menu that comes after i click the play now can ya help me? here is the script: MouseMove(683,42) MouseClick("Left") Sleep(2000) MouseMove(737,146) MouseClick("Left") Sleep(2000) MouseMove(918,150) MouseClick("Left") Sleep(2000) MouseMove(793,682) MouseClick("Left") Do $coord = PixelSearch(157, 98, 225, 146, 0x5893DA, 0, 1, "") $diff = TimerDiff(100000) Until IsArray($coord) Or $diff > 10000 MouseClick("Left") sleep(2000) MouseMove(766,459) MouseClick("Left") MouseMove(649,197) MouseClick("Left") MouseMove(864,491) MouseClick("Left") 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