Sign in to follow this  
Followers 0
BBrian

Runmenu: click context menu items from the command line

2 posts in this topic

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.htm

I hope this helps you guys.

>and a quick q. When stating how many lines of code there are, does one include blanks and comments?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0