How do I use this Auto Hot Key?
How do I use this Auto Hot Key?
I'm working on a speedrun for this game and need to open a box with specific key sequences. The process involves pressing X to open the box and then Y to extract its contents. I've found some videos about macros and hotkeys that might help. So far, my setup looks like this:
Send, {x}
Sleep,8
Send, {y}
While GetKeyState("x", "y")
Continue
Send, {y}
Send, {x}
Return
However, pressing X alone doesn't work when I crouch—like if I hold CTRL and then press X. The character only opens the box but doesn't extract anything. I've tried changing key combinations, such as |$Lctrl|, but it still causes the character to tap instead of opening and taking out the content. Do you know how to adjust the key codes so that holding Crouch triggers both opening and extracting?
I don't have much information about the game you're referring to.
Any suggestions would be based on general assumptions.
Press keys in certain ways should pass through keyboard drivers, Windows, and the game.
Macros that work well might not always be practical.