Mouseclick sequence LButton-&RButton

Discussion, questions and support.
Post Reply
albatross
Posts: 16
Joined: Nov 17th, ’19, 20:33

Post by albatross » Dec 8th, ’19, 19:03

Hi,

can anybody help me ..
How can I realize that a ShorCut RMouseButton & LMousebutton (in sequence) fires a command ?
(Something similiar like the double Escape..)

I tried this..

Hotkey: RButton
/ Command:

WinGetClass Class, A
If (A_PriorHotkey = LButton && A_TimeSincePriorHotkey < 350)
msgbox "This is a test"…

but this results that in a complete blockage of the left mouseclick after a first run.

thx in advance
User avatar
Marko
Posts: 1718
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Dec 9th, ’19, 15:42

Try this:
Shortcut: ~LButton & RButton (double click on shortcut field to enter it)
Command:
Msgbox This is a test
Post Reply