Jump to content

Recommended Posts

Posted

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

  • 4 weeks later...
Posted

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

Posted

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.

Posted

Yes but i need to work with two digits number.

Im using "Fileread" to get the numbers from Tesseract´s TXT output file. Maybe if i try with "Stringreplace"??

Posted

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

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
×
×
  • Create New...