aris Posted April 26, 2012 Share Posted April 26, 2012 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? Link to comment Share on other sites More sharing options...
Bert Posted April 26, 2012 Share Posted April 26, 2012 have you tried to install by using command line? See if the installer supports command line. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
aris Posted April 26, 2012 Author Share Posted April 26, 2012 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. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 26, 2012 Share Posted April 26, 2012 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. Link to comment Share on other sites More sharing options...
aris Posted April 26, 2012 Author Share Posted April 26, 2012 winactivate("ABBYY","") works. so should controlclick so its not an issue i think but thanks Link to comment Share on other sites More sharing options...
Realm Posted April 26, 2012 Share Posted April 26, 2012 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. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 26, 2012 Moderators Share Posted April 26, 2012 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. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
aris Posted April 26, 2012 Author Share Posted April 26, 2012 tesseract sucks big time compared to abbyy at least in the bitmaps i tried to parse Link to comment Share on other sites More sharing options...
Nikolay Posted April 28, 2012 Share Posted April 28, 2012 (edited) 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.comAs 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 April 28, 2012 by Nikolay Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now