commandKey | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | cmdkey | ||||||
Summary | Returns the state of the Command key. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Constant: left, up Message: commandKeyDown Function: controlKey, value, keysDown Control Structure: function Glossary: function, return, Command key | ||||||
Description | Use the commandKey function to check whether the Command key is being pressed. On Unix and Windows systems, the commandKey function returns the same value as the controlKey function: the two functions are synonyms. | ||||||
Tags | ui |