Using the Caps Lock Key as a shortcut to Cut Copy and Paste

Breaking News and amazing tweaks about windows stuff from Windows XP to upcoming Windows 9
Site Admin
Posts: 51
Joined: Sat Jan 04, 2014 10:35 am
Location: India

Using the Caps Lock Key as a shortcut to Cut Copy and Paste

Unread postby saurabhg » Fri Aug 22, 2014 7:38 pm


The Caps Lock key on the keyboard is one of the least used keys and a pointless one too. Unless you are a person who likes screaming on people, you will agree to the above statement. People generally prefer using the shift button to make the letters upper case. You can instead map it to do more useful functions.
All you need is : a software named AutoHotKey

Now that you have the software installed, lets get to creating a small macro! Create a file with extension ".ahk". You can name it anything you want it to be.
Open it with a text editor, and copy the following code:

Code: Select all

    if (A_PriorHotkey <> “~CapsLock” or A_TimeSincePriorHotkey > 500)
    KeyWait,  CapsLock
    SendInput, ^c
    SendInput, ^v
    SendInput, ^x

Now all you need to do is to save this file and double click it to execute it and then you can use the Caps Lock button to Cut, Copy and Paste for you instead of turning the case of letters. Pressing shift and caps lock will act as cut, tapping caps lock once will act as copy and double tap will act as paste.

The problem with this snippet though is that you need to execute it every time you start windows, which is a problem. So let's put it into startup of the computer to avoid this hassle too! Here's how:
Navigate to: "C:\Users\[UserName]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" and paste the file you just created here.

Note: You can still toggle caps lock on and off if you really need to, by using the key combination of Windows + Caps Lock.

You can similarly do various fun stuff with other non useful keys of the keyboard and play with it. Do let us know your experience in comments!


Return to “Microsoft Windows”

Who is online

Users browsing this forum: No registered users and 0 guests