Repository navigation
Replies: 1 comment
|
Put that in the Output field for the trigger button. While you hold the button, F stays down and S is pressed and released, followed by the 200 ms wait, on each cycle. Releasing the button releases F and stops the S loop. If you meant a 200 ms gap from one S press to the next, account for the time that The macro guide documents these functions. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
How can I press two keys at the same time, with a 200-millisecond pause between keystrokes for the second key?
I'm trying to control a game and move a character.
I’m familiar with the approach
key(KEY_F).wait(200)insidetoggle()orrepeat().However,
key(KEY_F)returns the string “F”; while this works for typing in a chat window, it doesn’t work for moving the game character.If I use just KEY_F, passing the key itself, the character moves.
So how do I combine KEY_F with a delay?
Schematically, the goal would be: KEY_F + Repeat(KEY_S.wait(200)) as long as the macro key is pressed.
Thank you very much
Translated with DeepL.com (free version)
All reactions