Returns the status of a toggle key.
KeyToggleGet(@key)
(i) @key the toggle key in question. Values may be one of:
@CAPSLOCK for the CapsLock key
@NUMLOCK for the NumLock key
@SCROLLLOCK for the ScrollLock key
(i) @ON Key was set.; @OFF Key was unset.
Use this function to obtain the state of one of the toggle keys - the CapsLock, NumLock, and ScrollLock keys.
a1=KeyToggleGet(@NUMLOCK) a2=KeyToggleGet(@CAPSLOCK) a3=KeyToggleGet(@SCROLLLOCK) b= StrCat(a1," ",a2," ",a3) Message("NumLock CapsLock ScrollLock", b)