AutoHotkey 中的功能键是什么? [英] What is the Function key called in AutoHotkey?

查看:38
本文介绍了AutoHotkey 中的功能键是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

AutoHotkey 中调用的功能键是什么?

What is the Function key called in AutoHotkey?

推荐答案

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

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.

下面是一个 Windows 如何查看您的输入的示例场景:

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

按下 F1 - Windows 接收 F1 按下代码
按 F1 向上 - Windows 接收 F1 向上代码
按 Fn 键 - Windows 什么也没有
按 F1 向下 - Windows 接收媒体 ▶ 向下代码
按 F1 向上 - Windows 接收媒体 ▶ 向上代码
向上按 Fn - Windows 什么也没有

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

这篇关于AutoHotkey 中的功能键是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆