fariswheel609 Posted August 25, 2005 Share Posted August 25, 2005 Hi, How can i make a script where when certain colored pixel shows move mouse to it?and how do i make this always active? like as if it follows it Link to comment Share on other sites More sharing options...
fariswheel609 Posted August 25, 2005 Author Share Posted August 25, 2005 Hi, How can i make a script where when certain colored pixel shows move mouse to it?and how do i make this always active? like as if it follows it<{POST_SNAPBACK}>hheelloo Link to comment Share on other sites More sharing options...
SupraNatural Posted August 25, 2005 Share Posted August 25, 2005 In a program or on the screen in general? Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it! Link to comment Share on other sites More sharing options...
fariswheel609 Posted August 26, 2005 Author Share Posted August 26, 2005 In a program or on the screen in general?<{POST_SNAPBACK}>Well in the program i can return a value for each coloured pixel with the cursor on it.But i need the mouse to follow the certain colored pixel Link to comment Share on other sites More sharing options...
SupraNatural Posted August 26, 2005 Share Posted August 26, 2005 What are you using to get the color? PixelGetColor Or PixelSearch Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it! Link to comment Share on other sites More sharing options...
layer Posted August 26, 2005 Share Posted August 26, 2005 While 1 $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 ) If Not @error Then MouseMove($coord[0], $coord[1]) EndIf Sleep(250) Finds a red pixel, and moves the mouse to it. This could load the CPU usage maybe... FootbaG Link to comment Share on other sites More sharing options...
fariswheel609 Posted August 26, 2005 Author Share Posted August 26, 2005 While 1 $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 ) If Not @error Then MouseMove($coord[0], $coord[1]) EndIf Sleep(250)Finds a red pixel, and moves the mouse to it.This could load the CPU usage maybe...<{POST_SNAPBACK}>Line 18Sleep250Error: "While" statement has no matching "WEnd" statement.I tried putting in WEnd in at the end and it still did nothing... Link to comment Share on other sites More sharing options...
SupraNatural Posted August 26, 2005 Share Posted August 26, 2005 Line 18Sleep250Error: "While" statement has no matching "WEnd" statement.I tried putting in WEnd in at the end and it still did nothing...<{POST_SNAPBACK}>While 1$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )If Not @error Then MouseMove($coord[0], $coord[1])EndIfSleep(250)WEnd Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it! Link to comment Share on other sites More sharing options...
AutoChris Posted August 26, 2005 Share Posted August 26, 2005 Line 18Sleep250Error: "While" statement has no matching "WEnd" statement.I tried putting in WEnd in at the end and it still did nothing...<{POST_SNAPBACK}>If the script didn't do anything (after putting WEnd at the end of the script) then it obviously did not find the color in the space specified by the script. Either change the color it is looking for and/or change the coordinates it is looking within. 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