How do I create a hotkey that will copy highlighted text into an editor?

1

How do I create a shortcut key that will copy highlighted text into a new text editor instance?

Belmin Fernandez

Posted 2011-10-26T01:40:57.323

Reputation: 2 691

Answers

2

Autohotkey.

http://www.autohotkey.com/

I haven't tested it but the script would go something like this.

+^c::
Send ^c
Run Notepad
WinWait Untitled - Notepad
WinActivate

Send ^v

Oops. I'll translate it.

+^c:: Defines CTRL Alt C as the hotkey.

Then it presses Ctrl C

Then fires up Notepad, waits for it to load, then makes it the active window.

Then it presses Ctrl V

surfasb

Posted 2011-10-26T01:40:57.323

Reputation: 21 453

Crap, why didn't I think of that. <3 autohotkey. Thanks! – Belmin Fernandez – 2011-10-27T10:32:50.227