Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to select some text, and instead of the normal copy, be able to choose another option of a name I choose, that runs some other program of my choosing.

How do I do that?

share|improve this question
@barlop: This is a vague question, but it appears that you want to add an option in the context menu when you select text where you can run an arbitrary program on the text. Am I correct? – bwDraco Apr 9 '11 at 23:33
@DragonLord you read it right, I don't think it's vague, how else could it be interpreted? but you added a bit about running the program on the text and the bit that you added might be beyond superuser and would need to be more specific. So the question is just what I asked. Yes it's a general question but so what. It's not too general to answer is it? – barlop Apr 9 '11 at 23:37
@barlop, sorry and thanks for clarifying. I won't flag the post. – bwDraco Apr 9 '11 at 23:40
@DragonLord You were thinking of flagging the post?!!!! – barlop Apr 9 '11 at 23:41
Did you have a particular program in mind you want to do this with? The context menu on text selection in Windows is not universal. Even if you added an option to the Windows common line edit and/or text area controls, that would still leave a lot of programs that use custom controls without it. (like Microsoft Office and Firefox, to name a few) You probably would be better off using clipboard management software that allows you to run a command based on clipboard content (possibly with a hotkey). – Patches Apr 9 '11 at 23:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.