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

RemoteControl.PressCommandKey

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

Parameters

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

Result

Returns OK on success.

Description

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