Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

trying to automate abbyy


  • Please log in to reply
8 replies to this topic

#1 aris

aris

    Seeker

  • Active Members
  • 14 posts

Posted 26 April 2012 - 05:01 PM

hi,

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 DarthCookieMonster

DarthCookieMonster

    I ate your mom's cookie. Nom Nom Nom...

  • MVPs
  • 11,893 posts

Posted 26 April 2012 - 05:31 PM

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

The Vollatran project
_____


msg-108-0-96549500-1409901790.png
Obi didn't believe me when I told him the dark side has milk and cookies....


#3 aris

aris

    Seeker

  • 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

somdcomputerguy

  • Active Members
  • PipPipPipPipPipPip
  • 2,854 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

aris

    Seeker

  • 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

Realm

    Lives in a tiny bubble

  • Active Members
  • PipPipPipPipPipPip
  • 628 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.

http://code.google.com/p/tesseract-ocr/

Realm

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.
 

728x90.jpg


#7 JLogan3o13

JLogan3o13

    115 and holding

  • MVPs
  • 4,324 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.

If you put a million monkeys on a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.

 

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


#8 aris

aris

    Seeker

  • 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

Nikolay

    Seeker

  • 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