Jump to content
Sign in to follow this  

Script to run a context menu item

Recommended Posts


I'm wondering if it's possible to do this with an AI script:

I've set up Windows Explorer so that when I right-click certain file types I see my custom context menu appear - call it "Process" for this example. What I'd like to do is to be able to use a hotkey (say Win+P, assigned in the WinKey program) to actually run the command associated with "Process" on the selected file. Perhaps via an AI script? "Process" may have been defined differently for different file types, but will always be named "Process" in the context menu.

The Enter key will run the default context item for the selected file. I'd like Win+P to run "Process" on the selected file, in a similar manner. Any thoughts?



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