Gaming Macro

Ask gaming related questions (AHK v1.1 and older)
cabalcrow
Posts: 1
Joined: 03 Mar 2020, 15:56

Gaming Macro

03 Mar 2020, 16:05

I'm trying to create a macro for certain techniques in a singleplayer video game.

The only script that works for me is "v::^Space" where left ctrl and space are 2 different inputs used to slide and jump respectively in the game.
There are 2 different kinds of techniques I'm trying to do and the script can execute both of them depending on what keys I bind the left shift and space in the game.

I want to be able to execute both techniques on 2 different keys, however. When i tried using the send command instead, I get really inconsistent results my command was
"send, {Lctrl down}{Space down}{Space up}{Lctrl up}" and I changed the positions of the space and the lctrl. Do anyone knows what commands are equivalent to the "v::^Space", so that I can swap the Lctrl and space in the macro, and also make the macro execute the inputs only once, even when holding the key?
Rohwedder
Posts: 7718
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Gaming Macro

05 Mar 2020, 06:31

Hallo,
use separate Hotkeys for pressing and releasing.
e.g.:

Code: Select all

*v::SendInput, {Blind}{LCtrl Down}{Space DownR}
;pressing V: first presses LCtrl and then Space
;and leaves them pressed!
*v Up::SendInput, {Blind}{Space Up}{LCtrl Up}
;releasing V first releases Space and then LCtrl.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 31 guests