

For example, A::b is typically equivalent to A::B and ^a::b is equivalent to ^a::^b.

However, a remapping opposite to the one above would not work as one might expect, as a remapping never "releases" the modifier keys which are used to trigger it. For example, the following line would produce an uppercase B when you type either "a" or "A" (as long as CapsLock is off): a::B By contrast, specifying an uppercase letter on the right side forces uppercase. The examples above use lowercase, which is recommended for most purposes because it also remaps the corresponding uppercase letters (that is, it will send uppercase when CapsLock is "on" or the Shift key is held down). The B key would continue to send the "b" keystroke unless you remap it to something else as shown in the following example: a::b The above example does not alter the B key itself. For example, a script consisting only of the following line would make the A key behave like the B key: a::b The syntax for the built-in remapping feature is OriginKey::DestinationKey. For the advantages and disadvantages of each approach, see registry remapping. Limitation: AutoHotkey's remapping feature described below is generally not as pure and effective as remapping directly via the Windows registry. Previous page next page Remapping Keys and Buttons Introduction
