Code: Select all
^!LButton::
Send, {MButton down}
KeyWait, LButton
Send, {MButton up}
Return
Code: Select all
^!LButton::
Send, {MButton down}
KeyWait, LButton
Send, {MButton up}
Return
Code: Select all
^!LButton Up::
KeyWait, Ctrl
KeyWait, Alt
Click, M
Return
Code: Select all
LButton::MButton
hemsith14_ wrote: I'm trying to simulate a middle button click with left button in chrome
hemsith14_ wrote: I want to hold LButton and simulate this as a hold of MButton so I can drag the page.
hemsith14_ wrote: What I want is to drag the page like when the middle button of the mouse is pressed, but do it with the following shortcut: ctrl + alt + LButton.
You've stated three times that you want to simulate MButton by pressing LButton, but then throw in that you want to do it using Ctrl-Alt-LButton. Which is it that you want - LButton alone or Ctrl-Alt-LButton?hemsith14_ wrote: So, when I press the LButton I can hold it and drag through the page.