Delphi – map Caps Lock to something useful for the Delphi IDE

delphidelphi-2009ide

OK, so I know I can remap the Caps Lock key in Windows registry, but is there something useful I can map it to in the Delphi 2009 IDE? I was hoping for Code Completion (Ctrl-Space), is there a way to map the single Caps Lock key to a Ctrl-key combination?

Best Answer

Do yourself a favour and just download Autohotkey. This will allow you to remap the CapsLock key to absolutely any other key combination or action.

It can also do this on an application context sensitive basis (ie CapsLock automatically does different things based on the active window).