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><glossarytag="return">Returns</glossary> the state of the <glossarytag="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_sttag="function">function</control_st> to check whether the <glossarytag="Command key">Command key</glossary> is being pressed.</p><p/><p><b>Value:</b></p><p>The <b>commandKey</b> <control_sttag="function">function</control_st> <glossarytag="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 <glossarytag="return">returns</glossary> the same <functiontag="value">value</function> as the <functiontag="controlKey">controlKey</function> <control_sttag="function">function</control_st>: the two <glossarytag="function">functions</glossary> are synonyms.</p>