Code: Select all
~Alt::
Input, UserInput, I L4 M T4 V
KeyWait, Alt
if UserInput = 0256
Do something
if UserInput = 0257
Do something else
return
Code: Select all
~Alt::
Input, UserInput, I L4 M T4 V
KeyWait, Alt
if UserInput = 0256
Do something
if UserInput = 0257
Do something else
return
Code: Select all
Input, key, L1
MsgBox, 64, Result, You pressed: %key%
Apologies, I should've specified my problem completely. When you hold a modifier key like Alt, the Numpad values aren't recorded by input. I was hoping there would be a way to get around this, if not I can switch to the FN key. Anyhow, thank you for letting me realize this!mikeyww wrote: ↑28 Jan 2021, 22:04I had no trouble.
Code: Select all
Input, key, L1 MsgBox, 64, Result, You pressed: %key%
Code: Select all
~Alt Up::Return
Alt::
Input, key, L1
MsgBox, 64, Result, You pressed: %key%
Return
Users browsing this forum: No registered users and 237 guests