How to get a key that does a routine of keys

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Raywolly
Posts: 1
Joined: 17 Jun 2018, 15:40

How to get a key that does a routine of keys

17 Jun 2018, 15:46

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!
Lupusvir
Posts: 11
Joined: 29 May 2018, 13:14

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

18 Jun 2018, 08:12

Code: Select all

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

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Billykid, dinodragon, mcd and 152 guests