AHK remap glitch with percent sign

Get help with using AutoHotkey and its commands and hotkeys
dsewq1LYJ
Posts: 114
Joined: 26 Aug 2014, 23:21

AHK remap glitch with percent sign

20 Apr 2017, 22:34

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?
just me
Posts: 7114
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: AHK remap glitch with percent sign

21 Apr 2017, 02:19

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
User avatar
tidbit
Posts: 1166
Joined: 29 Sep 2013, 17:15
Location: USA

Re: AHK remap glitch with percent sign

25 Apr 2017, 19:15

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.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Bing [Bot], nRec and 66 guests