Is this possible? For example I have character "𐂁" with corresponds with unicode code 0x00010081.
Something like this:
10081::
; commands to be executed
I'm using external numpad with Rasberry Pico to translate keys to other keys or combinations and it allows me to send these characters. For example: Numpad / -> 0x00010081
I could just use some key combos instead but using single keys would make thing much easier.
Any ideas?
Unicode characters/keys as hotkey?
Re: Unicode characters/keys as hotkey?
No way to test, but you could try a hotstring like
Make sure to save your script in UTF-8 with BOM encoding.
At least, when generated by an AHK script, such Unicode characters can trigger hotstrings (by adjusting the #InputLevel). This works:
But I doubt that 𐂁 could be a hotkey, because it is not considered as part of the used keyboard layout.
Code: Select all
:X*?:𐂁::msgbox
At least, when generated by an AHK script, such Unicode characters can trigger hotstrings (by adjusting the #InputLevel). This works:
Code: Select all
#Inputlevel 1
q::Send 𐂁
#Inputlevel 0
:X*?:𐂁::msgbox
Re: Unicode characters/keys as hotkey?
First get the UNICODE character in your Clipboard
Then you can paste it into your code
Code: Select all
Clipboard := Chr(10081)
Code: Select all
❡::whatever