Create specific dialog

Is there a way to create a dialog with 2 buttons like this one and take action upon the user’s choice?

download

Hi @quatreulls
Here are two possibilities.
Greetings
1.
getBoolean(“message”)
Displays a dialog box containing the specified message and “Yes”, “No” and “Cancel” buttons. Returns true (1) if the user clicks “Yes”, returns false (0) if the user clicks “No” and exits the macro if the user clicks “Cancel”.

getBoolean(message, yesLabel, noLabel)
Displays a dialog box containing the specified message and buttons with custom labels.

1 Like