Computing.Net > Forums > Windows XP > Yet another context menu question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Yet another context menu question

Reply to Message Icon

Name: mome_rath
Date: March 16, 2006 at 14:27:48 Pacific
OS: Win XP Pro
CPU/Ram: Centrino / 512 MB
Product: IBM Thinkpad T42
Comment:

I've searched through old context menu questions, to no avail.

I want to add an item to the generic context menu when *text* is highlighted. Ideally, this would not be program-specific. (I already have done this in IE, for example, but often times I want to do this from text in notepad, or in another "feature non-rich" application like a database.

The item I want to add to the context menu passes the highlighted text as an argument to an already-written batch file.

I looked around in the registry, but couldn't figure out where to add anything that would work.

Ideas?



Sponsored Link
Ads by Google

Response Number 1
Name: per
Date: March 16, 2006 at 15:05:59 Pacific
Reply:

Try here for contextedit.zip
http://www.ramlende.com/utilities.html

http://computervitals.com/


0

Response Number 2
Name: mome_rath
Date: March 16, 2006 at 15:36:21 Pacific
Reply:

This is a nice program, but it doesn't do what I'm looking for. This program can only edit context menus when a *file* is right-clicked. I'm looking to edit a more "fundamental" context menu; namely the one that appears when any text is highlighted. This can be text that appears in a command line, in a text box, or basically anywhere else.


0

Response Number 3
Name: per
Date: March 16, 2006 at 15:37:52 Pacific
Reply:

Can't help ya! :>)

http://computervitals.com/


0

Response Number 4
Name: ham30
Date: March 16, 2006 at 17:40:16 Pacific
Reply:

I don't think anyone can help you with that.


Sorry, I do not check for private messages


0

Response Number 5
Name: CyberSlug
Date: March 17, 2006 at 07:31:19 Pacific
Reply:

Best workaround would be to copy the text to the clipboard, then launch the action with a hotkey.... Windows lets you create hotkeys for desktop shortcuts. You could create a shortcut to some script that passes along the clipboard text to your batch file....

You could use a scripting language such as AutoIt.
; Very simple AutoIt v3 script
; Simulate Ctrl+C which usually copies text to clipboard
Send('^c')

; Launch batch file with paramter
Run('myBatchFile.bat' & ' ' & ClipGet())


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Yet another context menu question

Add Folder in Context menu www.computing.net/answers/windows-xp/add-folder-in-context-menu/96404.html

Delete PSP 8 From Context Menu www.computing.net/answers/windows-xp/delete-psp-8-from-context-menu/122258.html

Generic context menu additions www.computing.net/answers/windows-xp/generic-context-menu-additions/159087.html