Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Presses command key on Mac.

Component Version macOS Windows Linux Server iOS SDK
RemoteControl 2.8 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "RemoteControl.PressCommandKey"; down )   More


Parameter Description Example
down Pass 1 to press key down or 0 to release it. 1


Returns OK on success.


Presses command key on Mac.
Same as RemoteControl.PressKey for pressing command key.

See also

This function checks for a license.

Created 18th August 2014, last changed 24th February 2022

RemoteControl.MoveMouse - RemoteControl.PressControlKey