简体   繁体   English

在 AutoHotKey 中使用 Ctrl+Shift+Alt

[英]Using Ctrl+Shift+Alt in AutoHotKey

I'm trying to use AutoHotKey to control my media.我正在尝试使用 AutoHotKey 来控制我的媒体。 I have the following set which does not work:我有以下不工作的集合:

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

The following does work:以下确实有效:

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

Is there a way to make the Ctrl+Shift+Alt key binding work to play/pause media?有没有办法让 Ctrl+Shift+Alt 键绑定工作以播放/暂停媒体?

You can do something like你可以做类似的事情

^+Alt::Send {Media_Play_Pause}

but this requires you to first hold down Control and Shift before pressing Alt.但这需要您在按 Alt 之前先按住 Control 和 Shift。

However, we can mimic this mapping for all 3 potential final keys and we should be fine但是,我们可以为所有 3 个潜在的最终键模拟这种映射,我们应该没问题


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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM