Finding the scan code of FN Key

后端 未结 3 819
死守一世寂寞
死守一世寂寞 2021-02-12 22:05

I want to use Fn+S to emulate Ctrl+S, so far this is my code:

 #InstallKeybdHook
 #Persistent

  SC126 & s::
             


        
3条回答
  •  伪装坚强ぢ
    2021-02-12 23:09

    When you press the Fn key in combination with a supported key, the keyboard driver reports the presses to the operating system.

    You can find the fn key scan code

    1. Go to tray icon
    2. Right click script
    3. Click open
    4. Click view and then key history and script info ( alternatively "Ctrl + k")
    5. Once you press the key you can refresh (f5) and scroll to bottom to see the codes

提交回复
热议问题