I found this code that does so for normal left clicks, and it works fine. But I would like it to do the same for control click. Is there anyway to achieve this?
Thank you.
Code: Select all
DllCall("SystemParametersInfo", UInt, 0x101D, UInt, 0, UInt, 1, UInt, 0)
#Persistent
OnExit, ExitSub
return
ExitSub:
{
DllCall("SystemParametersInfo", UInt, 0x101D, UInt, 0, UInt, 0, UInt, 0)
ExitApp
}
~LButton::
Send {Ctrl}
return
~LButton UP::
Send {Ctrl}
return