help Letters to Numbers

Ask gaming related questions (AHK v1.1 and older)
bittencourt318
Posts: 85
Joined: 16 Apr 2020, 10:57

help Letters to Numbers

30 Dec 2023, 11:11

Can anyone help me create a script to swap letters for numbers when Scroll Lock is active! e.g. when the scroll lock is linked to the letters Q, W, E, A, S, D, Z, X, C, turn the numeric keypad to play games
Last edited by gregster on 30 Dec 2023, 11:14, edited 1 time in total.
Reason: Moved topic from 'Scripts and Functions (v1) > Gaming', since this is neither a working script nor function, but a help request.
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: help Letters to Numbers

30 Dec 2023, 13:44

Example:

Code: Select all

#If GetKeyState("ScrollLock", "T")
q::Numpad1
w::Numpad2
e::Numpad3
a::Numpad4
s::Numpad5
d::Numpad6
z::Numpad7
x::Numpad8
c::Numpad9
#If

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 33 guests