Some scripts I created for use with the excellent AutoHotKey utility.
On this page:
Replace Caps Lock with Copy/Paste
Typing Extended Characters
Comments
In my opinion, the Caps Lock is not a particualrly useful key. It is too easy to press by accident, and it's very rare to want to type a large amount of all-captials text.
On the other hand, some of the most useful and common operations I perform using the keys are Cut (Crtl-X), Copy (Ctrl-C) and Paste (Ctrl-V). These key combinations require a degree of finger strain due to the Ctrl key being at the bottom-left corner of the keyboard.
My solution is to redefine the Caps Lock:
See also: Caps Off!
The standard US and UK keyboards do not make it easy to type extended characters such as accented characters, copyright symbols, fractions, and other characters.
MS Windows has a keyboard layout called "US International" which enables these characters to be typed but has some disadvantages:
- the apostropohe key becomes a dead key.
- it's not suitable for non-US keyboard layouts.
Here is my solution: a script which makes use of the AltGr key to type the extra characters. It is largely based on the US International keyboard layout, but leaves all standard key presses unchanged, and is intended to work on both US and UK keyboards. All the additional characters can be typed with the help of the AltGr key. There are also some dead-key combinations which can be used to type an even wider variery of additional characters, again using the AltGr key.
The key mappings defined by the script are shown in blue and can be produced by holding down the AltGr key. Dead keys are indicated with a blue background.