What is the Function key called in AutoHotkey?

痞子三分冷 提交于 2019-12-02 05:06:09

问题


I have a key labelled Fn in blue letters at the bottom of my Windows 7 keyboard. I want to trigger my AutoHotkey script whenever someone presses that key.

What is the Function key called in AutoHotkey?


回答1:


The problem with the Fn key is, that a lot of keyboards don't implement it as normal key, but as a modifier that changes the key messages of other keys pressed at the same time.

So here is an example scenario of how Windows could see your input:

Press F1 down - Windows receives the F1 down code
Press F1 up - Windows receives the F1 up code
Press Fn down - Windows doesn't get anything
Press F1 down - Windows receives the media ▶ down code
Press F1 up - Windows receives the media ▶ up code
Press Fn up - Windows doesn't get anything



来源:https://stackoverflow.com/questions/27435328/what-is-the-function-key-called-in-autohotkey

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!