Page 1 of 1

How to get a key that does a routine of keys

Posted: 17 Jun 2018, 15:46
by Raywolly
I want to have a key that does 'Left-ctrl' -> 'Right mouseclick' -> 'left-ctrl'.
And then when I press it again it does the same routine again. The key that has to do the routine is CapsLock.
Thanks in advance!

Re: How to get a key that does a routine of keys

Posted: 18 Jun 2018, 08:12
by Lupusvir

Code: Select all

CapsLock::
{
	Send, {Lcontrol}
	Send, {RButton}
	Send, {Lcontrol}
	return
}
This should work for you. May I ask what it is for?