Jump to content
Sign in to follow this  

Increase numpad input

Recommended Posts


I'm kinda new to this but have a basic understanding somewhat.. I'm trying to send numpad inputs from 0 - 9 in sets of 4 (0000-9999) increasing one at a time. I have it set to hit a specific key, E, then input the numpad.. I want to to cycle

hit E
input 0000, then wait a second
hit E
input 0001,

repeat to 9999

all being sent from the numpad

Sorry if this sound confusing

Here's my code so far


Global $client = "Prog"
Global $play = WinExists($client)
Global $paused

HotKeySet("{Esc}", "Quit")
HotKeySet("{9}", "Pause")

If $play = 0 Then
   MsgBox (16, "Error", "Prog is not running - please try again.")
   WinActivate($client, "")
   While 1
Exit 0

Func Placename()

Func Pause()
    $paused = NOT $paused
    While $paused
        ToolTip("Paused - Press '9' to Resume")

Func Quit()
   Exit 0


I got to to just do the 0000 but wondering on how best to go about doing the increasing amount.

Thank you for any help you can give me on this :)

Share this post

Link to post
Share on other sites
1 hour ago, Zordon said:

To be honest it is..

Thank you for your honesty and this will be the last mistake made in our forums for you.
So, please read our forum rules now first before continuing.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...