OCRDLL some Error

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
user5274
Junior Coder
Posts: 43
Joined: Tue Aug 04, 2020 9:35 am

OCRDLL some Error

Post by user5274 » Sun Sep 06, 2020 5:41 am

when using an OCR command i get an error with ocr.dll
Screenshot_3.png
Windows 7 Pro
ocr.dll in same folder as msched as installed, along with tessdata folder as installed, no changes.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: OCRDLL some Error

Post by Marcus Tettmar » Sun Sep 06, 2020 11:20 am

You're trying to OCR against nothing. Your screen area is 0x0 pixels.

Admittedly the error message should be more graceful, but that might be the issue. You can't scan nothing.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

user5274
Junior Coder
Posts: 43
Joined: Tue Aug 04, 2020 9:35 am

Re: OCRDLL some Error

Post by user5274 » Wed Sep 09, 2020 2:13 am

Isnt the input coordinates similar to X1,Y1,X2,Y2 or in the manual it says left,top,right,bottom

So the numbers above would make it a 500,500 square?


Ive also read up on Tesseract, they have 2 options available, 32 bit and 64 bit, i did fail to mention above im on Win7Pro 64 bit.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: OCRDLL some Error

Post by Marcus Tettmar » Wed Sep 09, 2020 5:54 am

Sorry you're right. The coordinates are fine.

You don't need to install anything. The tesseract support files are included with Macro Scheduler.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

user5274
Junior Coder
Posts: 43
Joined: Tue Aug 04, 2020 9:35 am

Re: OCRDLL some Error

Post by user5274 » Wed Sep 09, 2020 8:48 am

Ok, ill try and run in on another machine since I dont know where to go from here. FYI all the ocr commands produce the same error. Even the OCR Wizard crashes MS15.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts