Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

RemoteControl.PressDialogButton

Presses a dialog button.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RemoteControl 6.2 Yes No No No No

MBS( "RemoteControl.PressDialogButton"; ButtonName )

Parameters

Parameter Description Example value
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


RemoteControl.PressControlKey   -   RemoteControl.PressDialogButton.Clear

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins