BBrian Posted April 10, 2008 Share Posted April 10, 2008 I wrote a nice big script to open Abbyy FineReader, get the 'open' dialog, type the filename etc. etc... because FineReader didn't come with command line options. Then while re-writing the script I realised there was a context menu item which did a lot of the work my script did. I searched the registry but couldn't find anything I could replicate with AutoIt and when searching Google, I found Runmenu.It allows me to use any function in the context menu from the command line. I just replaced 70 lines (inc. blanks and comments) with 2 lines (1 comment!):; Runmenu is a 3rd party utility to run context menu items from the command line. run("c:\ssc\runmenu.exe " & chr(34) & "/exec:ABBYY FineReader 9.0\Convert Into Microsoft Word Document" &chr(34) & " " & $pdfFolder & $pdfName)http://www.eluent.com/runmenu.htmI hope this helps you guys.>and a quick q. When stating how many lines of code there are, does one include blanks and comments? Link to comment Share on other sites More sharing options...
TheCreator Posted April 10, 2008 Share Posted April 10, 2008 I'd post this to scripts and scraps, or what ever the forum is called now. I'm afraid I don't understand your comment question, though. ~~TheCreator~~Visit http://tysdomain.com for personal software and website solutions. 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