All I want to do is simulate either CTRL+double-click or CTRL+enter by double-clicking the middle mouse button in Windows Explorer. I'm trying to get a double-middle-click to open folders in a new window.
So far I can simulate a left-click:
Code: Select all
#IfWinActive ahk_class CabinetWClass
~MButton::
if (A_PriorHotkey <> "~MButton" or A_TimeSincePriorHotkey > 200)
{
KeyWait, Esc
return
}
SendInput {LButton}
return
Nothing else I add to this seems to do the trick. I've tried
Code: Select all
SendInput {LButton}{Ctrl Down}{Enter}{Ctrl Up}
It only seems to be sending the {Enter} and not the CTRL press.