Jump to content

Getting text written on screen


xHPx
 Share

Recommended Posts

Hello there, autoit forums >_<

Is it possible to get screen text with autoit? Text written on the screen in games, in example.

Attached is an example, is it possible to get the name of the System with autoit?

post-52184-12500233063751_thumb.png

Link to comment
Share on other sites

  • 4 weeks later...

Hey there,

I made a simple tool using Tesseract to recognize numbers, but i have a problem: Tesseract converts 1 (0nes) as l (L letter) and the tool crashes...

Any way to force to recognize only numbers?

Thanks

Could you not just change it ?

If $i = "L" then

$i = "1"

Just a thought.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Since im using english language, i had no problems with my tests. A great surprise because i have no idea how to configure or "train?" Tesseract...

For one or two digits, i´m doing this:

If the filesize is 5 bytes, the captured file contains only one digit, so "Fileget" one character

If the filesize is 6 bytes, the file contains two digits, so...

Not a genius solution, but it works :D

Thanks anyway for your ideas John

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...