【问题标题】:Mouse & Keyboard press combination keystroke for Mouse click - Autohotkey鼠标和键盘按下组合键击鼠标点击 - 自动热键
【发布时间】:2015-07-23 17:25:58
【问题描述】:

我希望能够按下中间按钮以使用 AutoHotkey 模拟 Shift+Middle Button 或 Left Button+Middle Button 功能(两者都做同样的事情)。 这是用于在 Sketchup 软件中使用中间按钮进行平移。 我尝试了很多东西,但没有一个对我有用。

例如我写道:

M按钮:: 发送,{Shift & MButton down} 按键等待,MButton M按钮向上:: 发送,{Shift & MButton Up} 返回

此功能必须像 X-Mouse Button 一样工作:在功能期间。当我按下按钮时,它必须同时按下其他键。并以同样的方式释放。
那么,我该怎么办?

【问题讨论】:

  • 你能展示一下你目前得到的代码吗?

标签: autohotkey


【解决方案1】:

我做到了!

解决办法:

MButton::Send {Shift Down}{MButton Down} 按键等待,MButton MButton Up::Send {Shift Up}{MButton Up} 返回

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-13
    • 2017-11-21
    • 2012-10-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多