Jump to content


trying to automate abbyy

  • Please log in to reply
8 replies to this topic

#1 aris



  • Active Members
  • 14 posts

Posted 26 April 2012 - 05:01 PM


im trying to automate ocr abby which has a window that i can activate, but i can't push any buttons in it.
with previous ver of abbyy all worked smoothly but with the new one, it seems like it doesn't accept automated clicks? can they detect that?
i tried sending enter, i tried control clickiing "Button1" , "BUTTON1","4019" as an id etc etc nothing seems to work.

in the end i click the mouse coords but thats not very good cause i must have the window fixed.

any ideas?

#2 Bert


    Why yes....

  • MVPs
  • 12,445 posts

Posted 26 April 2012 - 05:31 PM

have you tried to install by using command line? See if the installer supports command line.

#3 aris



  • Active Members
  • 14 posts

Posted 26 April 2012 - 05:50 PM

you mean abbyy? no it only has a gui interface ;) i cant understand how i can see the button name and everything ok but i can't press it with control click but i can press it with mouseclick.

#4 somdcomputerguy


  • Active Members
  • PipPipPipPipPipPip
  • 2,869 posts

Posted 26 April 2012 - 05:56 PM

Just a shot in the dark, but; Has the title changed from the previous version? That could prevent ControlClick from working while MouseClick does. Search in the Help file for WinTitleMatchMode. Perhaps just setting the flag to 2 will get this thing working again.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

#5 aris



  • Active Members
  • 14 posts

Posted 26 April 2012 - 06:22 PM

winactivate("ABBYY","") works. so should controlclick so its not an issue i think but thanks

#6 Realm


    Lives in a tiny bubble

  • Active Members
  • PipPipPipPipPipPip
  • 652 posts

Posted 26 April 2012 - 06:35 PM

Hello aris,

Have you tried Tesseract? Tesseract released version 3 back in Oct/Nov of last year, and I have found it's results to be superb to the others. I have tried Abbyy as well, and was not impressed with it. It tends to read standard fonts well, however it confuses some of the not so standard fonts with other characters. Tesseract is fairly easy to use, it is open source and free to use. With Tesseract, all you have to do is create a tif file of the object you wish to read, pass the path of the tif file and a file name for the output text via it's commandline and it will do the rest. Tesseract has many language modules included, and its trainable.



My Contributions:
Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time.
RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.


#7 JLogan3o13


    115 and holding

  • MVPs
  • 4,785 posts

Posted 26 April 2012 - 07:29 PM

Technically, Abbyy uses an MSI for its installation, it just wraps it in a setup.exe. If you double click to start the install, and then look in your temp folder, you'll see the extracted files. I would suggest grabbing the MSI and basing your script off that, rather than trying to control the exe wrapper.

Dealing with end users: "Every day I play hide-and-seek with Stupid. Usually it finds me."


My Scripts: SCCM UDFInclude Source with Compiled Script, Disk Maintenance for Windows XP, "Deal-A-Day" Sites, Windows Firewall UDF

#8 aris



  • Active Members
  • 14 posts

Posted 26 April 2012 - 11:14 PM

tesseract sucks big time compared to abbyy at least in the bitmaps i tried to parse

#9 Nikolay



  • New Members
  • 1 posts

Posted 28 April 2012 - 06:39 AM

Hi everyone, my name is Nikolay, i work @ ABBYY technology products team. Maybe i could help with the automatiation you're discussing?

@aris: Please provide some more details on your task so i could suggest a solution for you. Here in comments or directly to my email: Nikolay_Kh@abbyy.com

As far as i can see, you're trying to automate desktop software (am i wrong?), while we've got a lot of stuff for you developers. We've got batch folder processing FineReader version, a server-based solutions, a command line interface product (for linux), the most powerful OCR SDK and even a cloud service with web API that lets you upload images using any programming language (have a look at our codesamples @ github) and sends you back OCRed data. You can access all that stuff for free. Just let me know if i can help you. Have a great day!

Edited by Nikolay, 28 April 2012 - 06:41 AM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users