I need a key pressed before the mouse clicks and pressed it again when the mousebutton is released.
In detail:
My hand just clicks, holds then releases the button. The application should receive keypress (down and up) then mouse button down, hold, release and finally keypress again.
It should work like this (but ofc it doesn't):
Code: Select all
#UseHook On
SetTitleMatchMode, 3
#IfWinActive, MyApplication
{
RButton Down::
Send {z}
Send {RButton down}
return
RButton Up::
Send {RButton up}
Send {z}
return
}
So a hint to something i should search/read and you know that solves this is appreciated as well!
(a fish is nice but a fishing-rod does the same for me =] )