LShift+Space how to toggle on/off with one key CapsLock

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
nas
Posts: 1
Joined: 27 Mar 2019, 08:36

LShift+Space how to toggle on/off with one key CapsLock

27 Mar 2019, 10:31

Hello,

I need to hold LShift+Space for minecraft chest/hopper placing on the fly,
I'm doing it with two keys setup, I wish to do the same thing below using one key only to toggle LShift+Space on/off.

Code: Select all

CapsLock::
	SEND, {LShift Down}{Space Down}
	KeyWait, %A_ThisHotkey%
	SoundBeep 
	Return
+CapsLock::
	SEND, {LShift Up}{Space Up}
	KeyWait, %A_ThisHotkey%
	SoundBeep 
	SoundBeep 
	Return
Thanks

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: FortniteSpanishGuy, GEOVAN and 155 guests