我正在尝试设置功能键来调整音量(就像在我的笔记本电脑上一样),但似乎无法让它工作。它只是在 F5 行上一直说热键无效。这是我的代码:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
BackspaceF9::
Volume_Down
BackspaceF10::
Volume_Up
BackspaceF11::
Volume_Mute
我究竟做错了什么?
答案1
如果您想要组合 Backspace 和功能键,请使用“&”符号。请参阅 AutoHotkey 帮助主题中的热键。