help with double key

Ask gaming related questions (AHK v1.1 and older)
Fonscky
Posts: 13
Joined: 06 Feb 2016, 12:26

help with double key

20 Jun 2017, 10:45

I want a script for BnS for backstep, the first script works fine but has to hold the LShift and then press the S to work.
I want to hold the S then press the LShift as in the second script, but the second script if press only S it does not work.

1
<+s::send ss

2
S & LShift::send ss
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: help with double key

20 Jun 2017, 11:37

Your statements seem contradictory.
I want to hold the S then press the LShift as in the second script
Ok... so you want S+LShift to activate the macro?
, but the second script if press only S it does not work.
So you want S on it's own to activate the macro?

What do you want? Do you want S to trigger the macro whether or not shift is held?
$*s::Send ss
Fonscky
Posts: 13
Joined: 06 Feb 2016, 12:26

Re: help with double key

20 Jun 2017, 13:23

I wanna this

S+LShift = SS
trevorphilips
Posts: 4
Joined: 20 Jun 2017, 11:30

Re: help with double key

20 Jun 2017, 16:11

LOL that was ez
Fonscky
Posts: 13
Joined: 06 Feb 2016, 12:26

Re: help with double key

20 Jun 2017, 17:35

$s & LShift::send ss have a error
Fonscky
Posts: 13
Joined: 06 Feb 2016, 12:26

Re: help with double key

21 Jun 2017, 09:44

s & LShift::send ss

So it works fine, but the S key is locked if you only press the S key.

That is the problem
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: help with double key

21 Jun 2017, 10:55

Code: Select all

#UseHook
~s & LShift::Send ss
But note that when you first press s, one s will be sent, then when you hit LShift, two more s will be sent, so a total of 3 will be sent.

You maybe want

Code: Select all

#UseHook
~s & LShift::Send s
Fonscky
Posts: 13
Joined: 06 Feb 2016, 12:26

Re: help with double key

21 Jun 2017, 16:31

hey evilC thank you for help

with 4 S worked perfectly

~S & LShift::send SSSS

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 82 guests