autohotkey - AutoHotkey 中的功能键是什么?

标签 autohotkey keyboard-events

我的 Windows 7 键盘底部有一个用蓝色字母标有 Fn 的键。我想在有人按下那个键时触发我的 AutoHotkey 脚本。

AutoHotkey 中的功能键是什么?

最佳答案

Fn 键的问题在于,许多键盘并没有将它实现为普通键,而是作为一个修饰符来改变同时按下的其他键的键信息。

因此,这是 Windows 如何查看您的输入的示例场景:

按 F1 向下 - Windows 接收 F1 向下代码
按 F1 up - Windows 接收 F1 up 代码
按 Fn 键 - Windows 什么也没有
按 F1 向下 - Windows 接收媒体 ▶ 向下代码
按 F1 向上 - Windows 接收媒体 ▶ 向上代码
向上按 Fn - Windows 没有得到任何东西

关于autohotkey - AutoHotkey 中的功能键是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27435328/

相关文章:

python - 在 Python 中检测 *nix 中的键盘布局

javascript - 禁用 html5 页面内 svg 的键盘事件

c# - 查找路径以特定模式结尾的文件

scala - 使用 Scala 发送击键和鼠标点击

windows-8 - 如何通过 CLI 或 AHK 在 Windows 8 中打开 "Devices and Printers"控制面板?

extjs - 防止网格面板的键盘多选

windows-10 - 如何在AutoHotKey中启动Windows Store应用程序?

autohotkey - 如何使用自动热键单击窗口上的特定按钮?

python - Keyboard.record() 追加到列表

java - 暂停监听鼠标/按键事件,直到声音结束