Windows 7: Right-click menu for text context

2

Does anyone know a tool like FileMenu Tools, but one that is able to provide right-click menu items for text context, ie. similar to Copy/Cut/Paste items when text selection is available.

My goal is to develop my own text converter applications by means of Real Studio, or - as a last resort - with VB and install them in the menu. The tool should then be available globally for Excel, Word, Notepad, etc etc wherever text context is relevant.

My text conversion needs change often as I move from one project to another, I need to clean up various types of data in different manners, so I need to be able to swiftly install and uninstall those helper apps.

Has anyone been through a similar challenge?

Artur

Posted 2012-02-05T22:46:36.797

Reputation: 133

Answers

1

There's no real thing as a global context menu. This is purely because different applications can use different edit controls. The one we see in Notepad would probably be the closest to what we could call a generic menu, which you could modify (if you had the source) using something like this.

What you could use is Notepad++ instead, which is far more customisable that the stock Notepad, and has support for all kinds of plugins support.

enter image description here

As for office, if you're on 2003 you can simply

  1. right clik the menu area
  2. Click Customise
  3. Choose the Toolbars tab
  4. Check Shortcut Menus
  5. Find the menu you wish to edit in the Text menu

like this

If you wanted a programming method instead try this.

As for office, if you're using 2007/2010 (the ones with the Ribbon UI), then you could do follow this tutorial or this from Microsoft themselves.

ms method for 2010 [Picture sourced from link above]

Having said all that

I don't think right-click menus are the way to go. The best way I'd go about something like this is using Autohotkey. Of course it really does depend on what you're after but there's heaps of resources out there that could help. Autohotkey doesn't add context menus but you can use shortcuts to perform tasks, such as this (by David James Miller)

^!+v::
Clip0 = %ClipBoardAll%
ClipBoard = %ClipBoard% ; Convert to plain text
Send ^v
Sleep 1000
ClipBoard = %Clip0%
VarSetCapacity(Clip0, 0) ; Free memory
Return

which basically pastes any text as plain text (removes formatting like fonts, italics etc).

Hope you find something useful here!

jay

Posted 2012-02-05T22:46:36.797

Reputation: 6 287