TCC > Variables & Functions > Variables:
Comments (...)
_CAPSLOCK returns the current state of the capslock key on the keyboard:
value
toggled status
1
ON
0
OFF
Help URL: http://jpsoft.com/help/index.htm?_capslock.htm