Jump to content

Help setting up Tesserac OCR

Recommended Posts

Good evening.

I am trying to create a really simple script to read text in iTunes and give me mouse position of that text. I downloaded Tesseract 3.0.2 I believe and download the Tessertact.Au3 and included this file. I cant even make it off the starting line!

I was trying the _TesseractControlFind() function.

"C:\Program Files (x86)\AutoIt3\Include\Tesseract.au3" (968) : ==> Subscript used on non-accessible variable.:
$hBMP = _WinAPI_CreateCompatibleBitmap($hDC, ($pos[2] * $scale) - ($right_indent * $scale), ($pos[3] * $scale) - ($bottom_indent * $scale))
$hBMP = _WinAPI_CreateCompatibleBitmap($hDC, ($pos^ ERROR

I ran the command from the example script to get this error so I have no idea what I've done wrong. Everyone else on the forum seems to work straight off the bat but the post was 5 years ago hehe.

If anyone has any idea of what I've done wrong it would be a huge help!


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

  • Create New...