the commandKey or commandKey()
The commandKey function checks whether the Ctrl key is currently pressed (the Command key on the Macintosh). If the Ctrl key is pressed, the function returns down; if the Ctrl key is not pressed, the function returns up. CommandKey can be abbreviated cmdkey.
The commandKey function does not perform the action of pressing the Ctrl key; it simply returns a string stating whether the key is currently pressed.
This text has been mechanically extracted from the Oracle Media Objects 22.214.171.124 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.