Weird behavior when hotstring contains remapped keys

Report problems with documented functionality
Arrivest
Posts: 16
Joined: 24 Nov 2017, 12:28

Weird behavior when hotstring contains remapped keys

02 Nov 2018, 00:02

I have this hotstring:
itll::it'll
It works as intended. However, sometimes I forget I have it, and I manually type out it'll, then it'd turn into iit'll.
At first I didn't know why, but then I found out it's because my ' (apostrophe) was a remapped key. If I use the original ' on the keyboard as opposed to my remapped ', there's no such issue.

Is it bug? If not, how do I avoid such behavior? Thanks!!
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: Weird behavior when hotstring contains remapped keys

02 Nov 2018, 07:28

By default, the hotstring hook does not take artificial input into account. To make the remapped apostrophe trigger hotstrings, you need to make sure it's using SendEvent and set its #InputLevel/SendLevel above default.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 21 guests