RemoteControl.IsCommandKeyDown
------------------------------

Checks whether command key is down.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [RemoteControl](component_RemoteControl.md) | [14.1](newinversion141.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "RemoteControl.IsCommandKeyDown" ) ### Parameters

none

### Result

Returns 1, 0, or error.

### Description

Checks whether command key is down.  
Returns 1 if key is down or 0 if not.  
### See also

- [RemoteControl.IsAltKeyDown](RemoteControlIsAltKeyDown.md)
- [RemoteControl.IsCapsLockKeyDown](RemoteControlIsCapsLockKeyDown.md)
- [RemoteControl.IsControlKeyDown](RemoteControlIsControlKeyDown.md)
- [RemoteControl.IsFunctionKeyDown](RemoteControlIsFunctionKeyDown.md)
- [RemoteControl.IsShiftKeyDown](RemoteControlIsShiftKeyDown.md)
- [RemoteControl.PressCommandKey](RemoteControlPressCommandKey.md)

### Release notes

- **Version 14.1**
    - Added [RemoteControl.IsAltKeyDown](https://www.mbsplugins.eu/RemoteControlIsAltKeyDown.shtml), [RemoteControl.IsCapsLockKeyDown](https://www.mbsplugins.eu/RemoteControlIsCapsLockKeyDown.shtml), [RemoteControl.IsCommandKeyDown](https://www.mbsplugins.eu/RemoteControlIsCommandKeyDown.shtml), [RemoteControl.IsControlKeyDown](https://www.mbsplugins.eu/RemoteControlIsControlKeyDown.shtml), [RemoteControl.IsFunctionKeyDown](https://www.mbsplugins.eu/RemoteControlIsFunctionKeyDown.shtml), and [RemoteControl.IsShiftKeyDown](https://www.mbsplugins.eu/RemoteControlIsShiftKeyDown.shtml) functions to check if a modifier key is down.

### Blog Entries

- [New in MBS FileMaker Plugin 14.1](https://www.mbsplugins.de/archive/2024-03-19/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.1pr4](https://www.mbsplugins.de/archive/2024-02-26/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 24th February 2024 , last changed 24th February 2024

  
[RemoteControl.IsCapsLockKeyDown](RemoteControlIsCapsLockKeyDown.md) - [RemoteControl.IsControlKeyDown](RemoteControlIsControlKeyDown.md)

[HTML Version](RemoteControlIsCommandKeyDown.shtml)