Holding 2 keys by pressing 1 Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Eyalhazak

Holding 2 keys by pressing 1  Topic is solved

25 Sep 2017, 17:37

Hello ,

i'm new to AHK and im trying to make a script which will HOLD space + C while holding the space key.

which means - im holding space but it'll actually hold space and C.
Space has to be the first click.
Thanks.
egocarib
Posts: 100
Joined: 21 May 2015, 18:21

Re: Holding 2 keys by pressing 1

25 Sep 2017, 18:07

You'll want to refer to the documentation for Hotkeys and Send

For this particular case, this should work (note that this will cause "C" to be pressed down whenever you press or hold the spacebar).

Code: Select all

~Space::Send {C Down}
~Space Up::Send {C Up} 
Eyal
Posts: 2
Joined: 25 Sep 2017, 17:27

Re: Holding 2 keys by pressing 1

26 Sep 2017, 08:41

egocarib wrote:You'll want to refer to the documentation for Hotkeys and Send

For this particular case, this should work (note that this will cause "C" to be pressed down whenever you press or hold the spacebar).

Code: Select all

~Space::Send {C Down}
~Space Up::Send {C Up} 
Thanks, its working perfectly

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 405 guests