If you press alt, its now in a toggled ON state.
If you press alt again, its now in a toggled OFF state.
How can I detect that in AHK?
<see Update 20220901 [How can I determine whether the menu bar is currently activated by Alt key?]>
---
note: ie: I want something analogous to use GetKeyState to get the toggle state of CapsLock, NumLock and ScrollLock,
but alt is not really a "toggleable key" from that aspect.
(note: This topic is not meant to detect "holding down" the alt key.)
----
Testing code to check GetKeyState on Alt (but not what I want)
#### Update 20220901
How to detect if Alt key is toggled?
>>
How can I determine whether the menu bar is currently activated by Alt key? (/ if Alt key is toggled?)