I want to remap an FN Key, so I have du find it's ScanCode and I found some threads about it, but any helped me!
For example I found this:
https://autohotkey.com/board/topic/7720 ... nt-solved/Ok, I think i found a suitable solution for you. Basically, do this:
1 - Create a script with the following lines:
#Installkeybdhook
#Persistent
2 - Run it and while it is under execution, right click its tray icon and choose "Open".
3 - On the open window, click Control+K (or choose the option "key history and script info" inside the menu "view".).
4 - Press Fn + F2 (or any combination you desire to use of the Fn-key, expect for Fn alone).
5 - Press F5 (to update the window) and check the key history table.
6 - You should see a new entry on the table (other than the F5 you just pressed) that is not actually the fn-key code but rather a "Remapped" key-code for the key you pressed while holding fn-key (Fn-key usually works on hardware level by changing the code that is sent when you press any of the keys that fn-functions, so it doesn't actually have a code itself).
7 - Check the codes on the "VK" and "SC" columns for the row of that entry.
8 - Create a script that sends both the codes with the following syntax:
Send {vk74sc03F}
Where "74" and "03F" should be replaced by the VK and SC codes you have read from the table.
9 - Don't forget to consider how the key should be sent and script that aswell! (Via a hotkey, on a planned routine, or etc).
Example:
The code bellow sends the F5 key when the hotkey Win+Z is activated.
#z::
Send {vk74sc03F}
And thats it! Not that hard huh? :p
But like described in 1. thery is no "Open" for me, when I am clicking the tray button.
What should I do?
Greetings