Thornhunt Posted February 18, 2009 Share Posted February 18, 2009 ok is there a way of searching for a group of coloured pixels? like OCR for exaple: L searching the whole area around that L for all the pixels that make the L at the same time? i have searched the help file and found nothing Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
exodius Posted February 18, 2009 Share Posted February 18, 2009 ok is there a way of searching for a group of coloured pixels?like OCRfor exaple:Lsearching the whole area around that L for all the pixels that make the L at the same time?i have searched the help file and found nothingDid you search the forums for OCR? Link to comment Share on other sites More sharing options...
Thornhunt Posted February 18, 2009 Author Share Posted February 18, 2009 (edited) Did you search the forums for OCR?yes , and have yet to find one that has a answer relivent to my needthe thing is. i need this little bit of script to find the character in the selected location then to move the cursor x many places to its left.but the character is a colection of set pixels next to each other Edited February 18, 2009 by Thornhunt Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Link to comment Share on other sites More sharing options...
Ealric Posted February 18, 2009 Share Posted February 18, 2009 PixelSearch() From the helpfile ; Find a pure red pixel in the range 0,0-20,300 $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 ) If Not @error Then MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1]) EndIf ; Find a pure red pixel or a red pixel within 10 shades variations of pure red $coord = PixelSearch( 0, 0, 20, 300, 0xFF0000, 10 ) If Not @error Then MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1]) EndIf My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic] 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