Page 1 of 1

AHK remap glitch with percent sign

Posted: 20 Apr 2017, 22:34
by dsewq1LYJ

Code: Select all

5::`%
Error: This line does not contain a recognized action.

Code: Select all

5::%
Error: This parameter contains a variable name missing its ending percent sign.

It looks like this remap is successful, but the compiler forget it needs '`' prefix to send percent sign.

but this problem can be solve by using

Code: Select all

5::+5
Is it a bug?

Re: AHK remap glitch with percent sign

Posted: 21 Apr 2017, 02:19
by just me
The following keys are not supported by the built-in remapping method:
  • ...
  • A percent sign (%) as a destination key. Instead use the VK/SC method.
  • ...
Remapping Keys and Buttons

Re: AHK remap glitch with percent sign

Posted: 25 Apr 2017, 19:15
by tidbit
also, not sure about your KB, but mine lacks a % key. % is (as you figured out) the number 5, modified with shift: +5.
So % isn't a key, it's a key-combo of shift+5.