Jump to content
Sign in to follow this  
implite

Can autoit find text?

Recommended Posts

implite

Can I have Autoit find letters or a line of text like using pixel search?

example ( search(132,193,647,342,findthistext, ) Is this possible?

Share this post


Link to post
Share on other sites
Valuater

That would be one hell of an OCR...

If the line of text can be read/gotten that would be much easier to search through

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
MrMitchell

Can I have Autoit find letters or a line of text like using pixel search?

example ( search(132,193,647,342,findthistext, ) Is this possible?

Someone might be able to provide alternatives if you can describe what you're trying to read text out of? A browser, game, other window...? Unless you're just trying to watch the entire desktop for a particular word to show up or something?

Share this post


Link to post
Share on other sites
implite

Someone might be able to provide alternatives if you can describe what you're trying to read text out of? A browser, game, other window...? Unless you're just trying to watch the entire desktop for a particular word to show up or something?

Yep find it in a browser, game or any game/ onscreen display. Not like reading text from a .txt file but just finding it in coordinates and then perform an action.

Edit: Can I take a screenshot of the Pattern I am looking and have autoit look for that pattern in my picture and compare till it finds a match?

Edited by implite

Share this post


Link to post
Share on other sites
Valuater

Show us a screen shot... and again...

That would be one hell of an OCR...

If the line of text can be read/gotten that would be much easier to search through

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
MrMitchell

Yep find it in a browser, game or any game/ onscreen display. Not like reading text from a .txt file but just finding it in coordinates and then perform an action.

Edit: Can I take a screenshot of the Pattern I am looking and have autoit look for that pattern in my picture and compare till it finds a match?

Like Valuater said, provide a screenshot if you can...

Are you going to scan the same exact spot/coordinates on the screen every time or does the location vary?

Share this post


Link to post
Share on other sites
implite

Like if this pixel found scan for the next door neighbors pixel from left to right like the very next pixel must be there on the same latitude, if its not continue scanning the screen for a match. Lol, This topic can be closed. If I ever get around to coding something like this ill post it in the Example Scripts. I thought I saw something done in c++ like this before but not really sure. If this was ever done before please lead me the way.

Edited by implite

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  

×