【问题标题】:I can't increase the volume via Autohotkey script我无法通过 Autohotkey 脚本增加音量
【发布时间】:2013-08-13 15:10:43
【问题描述】:

我无法通过 Autohotkey 脚本增加音量。 在 VLC 中增加音量的快捷键是 CTRL + UP ARROW。 此脚本不起作用。

SetTitleMatchMode, 2

ControlSend, , {CTRLDOWN}{UP}{CTRLUP}, VLC 媒体播放器

返回

【问题讨论】:

  • 您仍然应该考虑使用更可靠的ahk_class QWidget 作为窗口标识符,如 ElliotDeNolf 的解决方案中所述。例如。如果您打开了google search for VLC media player,脚本可能会意外地将密钥发送到您的浏览器。

标签: autohotkey


【解决方案1】:
#Up::ControlSend,, ^{Up}, ahk_class QWidget
#Down::ControlSend,, ^{Down}, ahk_class QWidget

【讨论】:

  • 谢谢艾略特。我提取了击键 ^{Up} 并编辑了我的脚本。有用。 SetTitleMatchMode, 2 ControlSend, , ^{Up}, VLC media player Return
猜你喜欢
  • 1970-01-01
  • 2014-04-02
  • 1970-01-01
  • 2022-11-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-12
相关资源
最近更新 更多