I have a special desktop software, in which openning a new file would trigger an action of pressing RAlt sometimes. This makes me impossible to use the key RAlt in a reliable way.
Is it possible to make a script running only when the hardware key RAlt is pressed manually, but not triggered by a software? Thanks!
script running only when a hardware key is pressed manually? Topic is solved
-
- Posts: 99
- Joined: 28 Jun 2019, 01:07
Re: script running only when a hardware key is pressed manually? Topic is solved
Code: Select all
????::
if !GetKeyState(????, "P")
return
return
-
- Posts: 99
- Joined: 28 Jun 2019, 01:07
Re: script running only when a hardware key is pressed manually?
@swagfag It works. Thank you!