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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

See also

Blog Entries

This function checks for a license.

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


RemoteControl.PressControlKey - RemoteControl.PressDialogButton.Clear

💬 Ask a question or report a problem