Windows – Use ‘Shift + Caps lock’ instead of ‘Caps Lock’

keyboardwindows

I have a Japanese keyboard at home on which the Caps Lock functions differently to the standard UK/US keyboard.
To toggle Caps Lock you need to use Shift + Caps Lock which pretty much eliminates setting it accidentally.

Is there any way to set up the same behaviour on a UK/US keyboard for my work PC.
I'm using Win XP Prof.

Best Answer

In autohotkey:

CapsLock::Return
+CapsLock::CapsLock

Though you could then set Capslock itself to a much more useful function rather than disabling it entirely. You could have it equal to shift, for example:

Capslock::Shift

or set it to open/switch to Firefox:

Capslock::
SetTitleMatchMode, 2
IfWinExist, Mozilla Firefox
{
IfWinActive, Mozilla Firefox
{
Send ^t
Send !d
sleep, 100
Send ^a
}
WinActivate
WinWaitActive
}
else
Run %programfiles%\Mozilla Firefox 3.1 Beta 3\firefox.exe
return

(Though the latter would need a tiny bit of configuration for FF's path, and how long you need the sleep to be)

Related Question