AutoHotKey for Numpad

I was wondering if anyone has a simple AHK script that utilizes numbers 1-4 on the numpad? I found one a few years ago on this site but now when i search for old posts all the results come back with some type of error and the page is all white.

Never mind i seem to have found it after all…here it is if anyone is interested.

{
$Numpad1::
Loop
{
if not GetKeyState(“Numpad1”, “P”)
break
Send {Numpad1}
Sleep 80
}
return

$Numpad2::
Loop
{
if not GetKeyState(“Numpad2”, “P”)
break
Send {Numpad2}
Sleep 80
}
return

$Numpad3::
Loop
{
if not GetKeyState(“Numpad3”, “P”)
break
Send {Numpad3}
Sleep 80
}
return
}

1 Like

Are you using a Hot key to cycle through this? Would love to see the full code you are using =) Been trying something similar to this as well.