在 AutoHotKey 中使用 Ctrl+Shift+Alt

问题描述

我正在尝试使用 AutoHotKey 来控制我的媒体。我有以下一组不起作用:

;--- Ctrl+Shift+Alt to play/pause media ---
^+!::Send {Media_Play_Pause}`

以下确实有效:

;--- Ctrl+Shift+NumPad Divide to play/pause media ---
^+NumpadDiv::Send {Media_Play_Pause}`

有没有办法让 Ctrl+Shift+Alt 键绑定播放/暂停媒体?

解决方法

你可以做类似的事情

^+Alt::Send {Media_Play_Pause}

但这需要您先按住 Control 和 Shift,然后再按 Alt。

但是,我们可以为所有 3 个潜在的最终键模仿这种映射,我们应该没问题


Code:
^+Alt::
^!Shift::
+!Control::
Send {Media_Play_Pause}
return