Page 1 of 1

Gaming Macro

Posted: 03 Mar 2020, 16:05
by cabalcrow
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?

Re: Gaming Macro

Posted: 05 Mar 2020, 06:31
by Rohwedder
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.