Page 1 of 1

NumPad Key

Posted: 19 Jan 2018, 22:19
by Koalaking
Not sure if this is the correct forum for this post as this is my first.
What i want:
a simple script that presses Numpad5, Numpad5, Numpad7, Numpad3
in that order.
I did a quick 30 minute search and couldn't quite find what I'm looking for.
Thanks in advance.

Re: NumPad Key

Posted: 19 Jan 2018, 22:56
by gregster
Welcome, this is the right forum (or perhaps the corresponding Ask for Help/Gaming subforum, if it is for a game specifically)!
Did you take a look at the tutorial? Additionally, for sending keys you should look into the Send command, and its variations (for example, in a game, things can get more complicated than say, in Notepad). Also, there are myriads of other posts about this in the forum already.

Depending on your goal, if you want to run the key sequence permanently, you could either look into SetTimer or Loop; or on the other hand, for a manual trigger, into defining hotkeys (see the tutorial for starters).
To effectively get help, you should give as much information about your use case as possible. In general, the likelihood to get help gets much higher, if you post some code you have tried, even if it didn't work.