发送笔记本电脑功能键-AutoHotKey [英] Sending laptop function key - AutoHotKey

查看:135
本文介绍了发送笔记本电脑功能键-AutoHotKey的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用笔记本电脑的Fn +功能键时遇到了麻烦,因为它们全部排成一行,并且它们之间没有任何空格,而且不是快捷键,浪费时间...这是HP Probook 4540s,如果您使用过它,您会明白的. ..

I have trouble using my laptop's Fn+ function keys because they're all lined up without any space between them, and its not a shortcut, its time waste... it's HP Probook 4540s, you'd understand if used this...

因此,我用Google搜索并找到了AHK. 现在我要做的就是发送

So, I googled and found AHK. Now what I want to do is to send

Fn+F8 (volume down) and 
Fn+F9 (volume up) as another shortcut, i.e 
Fn+NumpadSub and 
Fn+NumpadAdd

以下是我到目前为止尝试过的

Following is what I tried so far,

; Volume Down
126NumpadSub::
Send {vkFFsc126 down}
Send {F8}
Send {vkFFsc126 up}
return

126是我的Fn键的扫描代码. 但这是行不通的.

126 is scan code for my Fn key. But it does not work.

我可以在这方面得到任何帮助吗?

Can I get any help on this?

谢谢

推荐答案

如果您想要快捷方式 Fn + NumpadSub ,则可以这样映射它们:

If you want the shortcut Fn+NumpadSub, you would map them like so:

SC126 & NumpadSub::
    Send {SC126 down}
    Send {F8}
    Send {SC126 up}
Return

这是键列表,供以后参考.

这篇关于发送笔记本电脑功能键-AutoHotKey的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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