Error getting tags :
error 404Error getting tags :
error 404 commandKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
commandKey
Basics
Expander triangle
Type
Function
Syntax

the commandKey

commandKey()

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the state of the Command key.
Examples

put commandKey() after keyHistory
if the commandKey is down then edit script of me

Additional Comments
Expander triangle

Use the commandKey function to check whether the Command key is being pressed.

Value:

The commandKey function returns "down" if the key is pressed and "up" if it's not.

Comments:

On Unix and Windows systems, the commandKey function returns the same value as the controlKey function: the two functions are synonyms.

User Comments
Expander triangle