Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


Parameter Description Example
ButtonName The name of the button. "OK"


Returns OK or error.


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.


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")]

See also

Blog Entries

This function checks for a license.

Created 18th March 2016, last changed 18th March 2016

RemoteControl.PressControlKey - RemoteControl.PressDialogButton.Clear