Wednesday, August 15, 2012

Single-key shortcut for copy and paste in Windows

Too much copying (Control+C) and pasting (Control+V) hurts my fingers. Recently I downloaded a macro program to give me a single-key alternative for each. I used F3 and F4 for my new shortcuts. I made the shortcuts available in all applications except Eclipse. I disabled my shortcuts for Eclipse so that I could use its existing bindings.

  1. Install AutoHotkey.
  2. Create and edit a new script.
  3. Use the following code:
    #IfWinNotActive, ahk_class SWT_Window0
    F3::Send ^c
    F4::Send ^v
    
  4. Run the script.

1 comment: