You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary><glossary tag="return">Returns</glossary> the state of the <glossary tag="Command key">Command key</glossary>.</summary>
<examples>
<example>put commandKey() after keyHistory</example>
<example>if the commandKey is down then edit script of me</example>
</examples>
<description>
<p>Use the <b>commandKey</b> <control_st tag="function">function</control_st> to check whether the <glossary tag="Command key">Command key</glossary> is being pressed.</p><p/><p><b>Value:</b></p><p>The <b>commandKey</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> "down" if the key is pressed and "up" if it's not.</p><p/><p><b>Comments:</b></p><p>On Unix and Windows systems, the <b>commandKey</b> function <glossary tag="return">returns</glossary> the same <function tag="value">value</function> as the <function tag="controlKey">controlKey</function> <control_st tag="function">function</control_st>: the two <glossary tag="function">functions</glossary> are synonyms.</p>