Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RemoteControl.IsAltKeyDown
Checks whether alt/option key is down.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RemoteControl | 14.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "RemoteControl.IsAltKeyDown" )
Parameters
none
Result
Returns 1, 0, or error.
Description
Checks whether alt/option key is down.Returns 1 if key is down or 0 if not.
Examples
Show result as text:
if (MBS( "RemoteControl.IsAltKeyDown" ); "option down"; "option up")
See also
- RemoteControl.IsCommandKeyDown
- RemoteControl.IsControlKeyDown
- RemoteControl.IsFunctionKeyDown
- RemoteControl.IsShiftKeyDown
Release notes
- Version 14.1
- Added RemoteControl.IsAltKeyDown, RemoteControl.IsCapsLockKeyDown, RemoteControl.IsCommandKeyDown, RemoteControl.IsControlKeyDown, RemoteControl.IsFunctionKeyDown, and RemoteControl.IsShiftKeyDown functions to check if a modifier key is down.
Example Databases
Blog Entries
This function is free to use.
Created 24th February 2024, last changed 24th February 2024