capsLockKey

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the capsLockKey
capsLockKey()
Summary

Returns the state of the Caps Lock key.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
the capsLockKey
if the capsLockKey is down then exit repeat
Values
NameTypeDescription
return

The capsLockKey function returns down if the key is locked down and up if it's not.

RelatedFunction: keysDown
Glossary: return
Description

Use the capsLockKey function to check whether the Caps Lock key is locked down.

Tagsui