NumPad Key

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Koalaking
Posts: 1
Joined: 19 Jan 2018, 22:11

NumPad Key

19 Jan 2018, 22:19

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.
gregster
Posts: 8990
Joined: 30 Sep 2013, 06:48

Re: NumPad Key

19 Jan 2018, 22:56

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.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doanmvu, Google [Bot], mikeyww and 268 guests