Sequence of keys Topic is solved

Ask gaming related questions (AHK v1.1 and older)
cykriz

Sequence of keys  Topic is solved

23 Mar 2018, 05:56

Hello,

I do not konw if this was already asked.

I want that a sequence of keys are activeted, when I press some keys. In that specific case, it would be like this:

When I press ctr+shift+D than I what a sequence of the following keys:

"ctr+shift+R" than "Enter" after that
"ctr+shift+C" than "Enter"

I tryed the following, but didn't work:

Code: Select all

^+d::
Send, {Ctrl down}{Shift down}r{Shift up}{Ctrl up}{Enter}
Send, {Ctrl down}{Shift down}c{Shift up}{Ctrl up}{Enter}
return
Maybe someone can help me.

Thanks.
Rohwedder
Posts: 7643
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Sequence of keys

24 Mar 2018, 04:04

Hallo,
the script seems to be OK. But maybe too fast?
Try:

Code: Select all

^+d::
SetKeyDelay, 100
Send, {Ctrl down}{Shift down}r{Shift up}{Ctrl up}{Enter}
Send, {Ctrl down}{Shift down}c{Shift up}{Ctrl up}{Enter}
return
cykriz

Re: Sequence of keys

26 Mar 2018, 05:27

Hello,

Yes, it was too fast.
With that delay it works fine.

Thank you.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 42 guests