capsLockKey

returns the state of the Caps Lock key.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

the capsLockKey

# Examples

the capsLockKey

if the capsLockKey is down then exit repeat

# Description

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

# Tags

ui,

# See

- **function:** keysDown - **glossary:** return