The above example does not alter B itself. For example, a script consisting only of the following line would make A behave like B: 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. Remapping via the Registry's 'Scancode Map'.Moving the Mouse Cursor via the Keyboard.
Remapping Keys (Keyboard, Mouse and Controller) | AutoHotkey v1 Remapping Keys (Keyboard, Mouse and Controller) Table of Contents