In Windows Explorer I want to do the following:
When I press down and hold Mouse-Right: Autohotkey Wait for Mouse-Left click Run Action
When I Press down but release Mouse-Right (normal right click): Run normal Windows contect menu
The problem lies within the keystates of the mousebuttons. I cant figure it out. Maybe someone already has a similar script to this.
#IfWinActive ahk_class CabinetWClass
RButton::
Loop
{
GetKeyState, state, RButton
if state = D
KeyWait, LButton, D
send {Del}
if state = U
return
}
Click right
return
This is what i came up with. Not working :((