| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
RemoteControl.PressDialogButton
Presses a dialog button.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| RemoteControl | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "RemoteControl.PressDialogButton"; ButtonName ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| ButtonName | The name of the button. | "OK" |
Result
Returns OK or error.
Description
Presses a dialog button.The plugin takes the button name and waits in background.
If a dialog shows up with the right button name, the plugin presses it.
Please call RemoteControl.PressDialogButton.Clear to stop this after you needed it.
Examples
Press OK on the custom dialog:
Set Variable [$r; Value:MBS( "RemoteControl.PressDialogButton"; "OK")]
Show Custom Dialog ["Hello"]
Set Variable [$r; Value:MBS( "RemoteControl.PressDialogButton.Clear")]
Show Custom Dialog ["Hello"]
Set Variable [$r; Value:MBS( "RemoteControl.PressDialogButton.Clear")]
See also
Blog Entries
This function checks for a license.
Created 18th March 2016, last changed 18th March 2016
RemoteControl.PressControlKey - RemoteControl.PressDialogButton.Clear