使用 Autohotkey (W7 Pro SP1) 将 "Ctrl+l" 重新映射到 "Alt+d"
Remap "Ctrl+l" to "Alt+d" with Autohotkey (W7 Pro SP1)
我想重新映射 Ctrl + l 到 Alt + d 这样我就可以在资源管理器中突出显示文件路径。然而,我所有的尝试都没有成功。
LCtrl & l::LAlt & d
Returns:
^l::
!d
return
无效。
^l::!d
也不行。
LCtrl & l::LAlt & d
Returns:
Error at line 12.
Line Text: LAlt & d
Error: This line does not contain a recognized action.
The program will exit.
但我已经在其他脚本中使用过该表达式并对其进行了测试。
实现此目标的正确方法是什么?
这个 AutoHotkey 脚本应该可以满足您的要求。
在 Windows 7.
上测试
#IfWinActive, ahk_class CabinetWClass
^l::
#IfWinActive, ahk_class ExploreWClass
^l::
SendInput !d
Return
#IfWinActive
我想重新映射 Ctrl + l 到 Alt + d 这样我就可以在资源管理器中突出显示文件路径。然而,我所有的尝试都没有成功。
LCtrl & l::LAlt & d
Returns:
^l::
!d
return
无效。
^l::!d
也不行。
LCtrl & l::LAlt & d
Returns:
Error at line 12.
Line Text: LAlt & d
Error: This line does not contain a recognized action.
The program will exit.
但我已经在其他脚本中使用过该表达式并对其进行了测试。
实现此目标的正确方法是什么?
这个 AutoHotkey 脚本应该可以满足您的要求。
在 Windows 7.
#IfWinActive, ahk_class CabinetWClass
^l::
#IfWinActive, ahk_class ExploreWClass
^l::
SendInput !d
Return
#IfWinActive