Sign in to follow this  
Followers 0
lalahahahehe

PixelSearch Question...

4 posts in this topic

ok I know PixelSearch looks for certain colors on the screen, but i was wondering if there is anyway to check the screen for a work rather than a color. Same concept as pixelsearch but can find something like ..

"hello".

and i dont mean that its checking a txt file or something. just if u have a pic of lets say.. someone next to a sign or something with a word on it ( thats readable)

any tips would be great, ty.

Share this post


Link to post
Share on other sites



If this word stays in the same spot and you are just checking if it's there, you could have multiple searches forming to only that word.

Like a search in the letter h then e then l etc etc


Share this post


Link to post
Share on other sites

it might not work depending on what your looking at if ur doing a jpeg or a bmp you wont beable to get the text out unless you have a optical somthing or another reconition program if it is lookin at a text file use

WinGetText or try looking up string in the help file.


[center][font="Arial Black"] DESEAN[/font][/center] [center]<<<WOW Fi$her>>>[/center][center]<<<mp3 player>>>[/center]

Share this post


Link to post
Share on other sites

ok I know PixelSearch looks for certain colors on the screen, but i was wondering if there is anyway to check the screen for a work rather than a color. Same concept as pixelsearch but can find something like ..

"hello".

and i dont mean that its checking a txt file or something. just if u have a pic of lets say.. someone next to a sign or something with a word on it ( thats readable)

any tips would be great, ty.

What you're talking about is Optical Character Recognition (OCR), and it can be pretty deep stuff. For instance, the same word may be in different fonts, sizes, bold, italic, underlined, etc. If it's the same word in the same font (in a particular GUI for instance) you might just do a PixelChecksum() on it. But if you want to play OCR, do a search for it in the Scripts and Scraps forum and you find things to think about.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0