1
I’d like to try to solve my problem. I made a SCRIPT in the program AUTOHOTKEY in which I use a combination key UP(up arrow) + LEFT (left arrow) and this combination activates the Numpadhome key, but the UP key becomes a prefix key and loses its main function. I researched and added in the script a function that activates along with the combination key the initial function of the UP key. Only when I did this the UP Key when pressed only activates 1x.
Ex: In the game that I play, when I press the UP key, the doll keeps walking up until I release the key.
When I activate this script and press the UP key the dummy walks only once and stops, I wonder if there is any function that can include so that qnd I press the UP key, run the walk up function and only stop when release.
Thank you.
Follow the script below:
Up & Left:: NumpadHome
Up:: Send {Up}
Put * in front of *Up:: Send {Up}
– HudsonPH
didn’t work =/ which happened when I hit the combination key up and left, the dummy keeps walking non-stop, just for when I tighten the combination again. what I wanted, is that only the UP key , again perform the normal function of walking up and while I keep the key pressed.. dps q I release the key , to.
– Guilherme Queiroz
Tried to put * on both or only on up&left?
– HudsonPH
What is the same javascript code? Without the code is hard to say, but trying to guess, it seems to me the difference between listening to the event
keypress
andkeydown
. In thekeypress
only does something when the key is pressed and dropped whereaskeydown
just having the key pressed that is already interpreted– Isac
I do not know much to do, I researched a lot about and I could not.. but when I researched talked about this keydown.. how could I put this in the script ?
– Guilherme Queiroz
Hudson, I just put it where you asked.
– Guilherme Queiroz
You have to put a complete minimum example and vericavel to understand and reproduce the problem.
– Isac