RemoteControl.PressControlKey
-----------------------------

Presses control key.

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

MBS( "RemoteControl.PressControlKey"; down ) 

**MBS**( **"RemoteControl.PressControlKey";** /\* Presses control key. \*/  
**$down**) /\* Pass 1 to press key down or 0 to release it.e.g. 1 \*/ 

### Parameters

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

### Result

Returns OK on success.

### Description

Presses control key.  
Same as [RemoteControl.PressKey](RemoteControlPressKey.md) for pressing control key.  
### Examples

Press Control-V:

 MBS ( "RemoteControl.PressControlKey"; 1 )  
MBS ( "[RemoteControl.PressKey](RemoteControlPressKey.md)"; "V" )  
MBS ( "RemoteControl.PressControlKey"; 0 )  
### See also

- [HotKey.Register](HotKeyRegister.md)
- [RemoteControl.IsControlKeyDown](RemoteControlIsControlKeyDown.md)
- [RemoteControl.PressCommandKey](RemoteControlPressCommandKey.md)
- [RemoteControl.PressKey](RemoteControlPressKey.md)
- [RemoteControl.PressOptionKey](RemoteControlPressOptionKey.md)
- [RemoteControl.PressShiftKey](RemoteControlPressShiftKey.md)

### Example Databases

- [Win Only/Search Scripts](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Search%20Scripts.shtml#1ScriptAnchor_)
- [Win Only/Snippets for Windows](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/Snippets%20for%20Windows.shtml#3ScriptAnchor_)

### Blog Entries

- [Insert snippet for FileMaker on Windows](https://www.mbsplugins.de/archive/2019-11-20/Insert_snippet_for_FileMaker_o/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[RemoteControl.PressCommandKey](RemoteControlPressCommandKey.md) - [RemoteControl.PressDialogButton](RemoteControlPressDialogButton.md)

[HTML Version](RemoteControlPressControlKey.shtml)