【问题标题】:Bind one key to three modifier keys autohotkey将一个键绑定到三个修饰键 autohotkey
【发布时间】:2015-07-30 14:49:02
【问题描述】:

我希望能够按 Alt+Middle Button 来模拟 Shift+Ctrl+带有 AutoHotkey 的右键。我这样做是为了模拟两个键。它有效,但不适用于三个键。

所以我写了:

LAlt & MButton::Send {Ctrl Down}{Shift Down}{RButton Down}
keywait, LAlt
keywait, MButton
LAlt & MButton Up::Send {Ctrl Up}{Shift Up}{RButton Up}
return

问题出在哪里?

【问题讨论】:

    标签: autohotkey keystroke


    【解决方案1】:

    第一件事是永远不会执行两条 keywait 行,因为您将某行上的发送操作作为热键,这将成为单行热键或重新映射

    如果您希望在一个热键例程中执行多行代码,则需要在热键定义标签下方的行中启动例程。

    还可以尝试采用更简单的方法,即使用 Autohotkeys 重新映射功能

    不能说这对你有用,但试一试

    !MButton::^+RButton
    

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-01-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-04
      • 1970-01-01
      相关资源
      最近更新 更多