Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Presses option/alt key.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RemoteControl | 2.8 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
down | Pass 1 to press key down or 0 to release it. | 1 |
Returns OK on success.
Try shift key:
Set Variable [ $mod1 ; Value: Get(ActiveModifierKeys) ]x
Set Variable [ $r ; Value: MBS( "RemoteControl.PressOptionKey"; 1 ) ]
Set Variable [ $mod2 ; Value: Get(ActiveModifierKeys) ]
Set Variable [ $r ; Value: MBS( "RemoteControl.PressOptionKey"; 0 ) ]
Set Variable [ $mod3 ; Value: Get(ActiveModifierKeys) ]
# Mod2 is 8 for shift key
Show Custom Dialog [ "Modifier Keys" ; $mod1 & ¶ & $mod2 & ¶ & $mod3 ]
This function checks for a license.
Created 18th August 2014, last changed 28th March 2023