Tag: MsgBox

The MsgBox function displays an information message box in a modal dialog and interrupts the automation.

Tag Attributes

AttributesAttribute ValuesValue Description
TitleN/AN/A Optional
MessageN/AN/A - Required (But can be empty)
MessageExtendedN/AAppears below message Optional
WithCancel

True / False 

Defaults to FALSE

Adds a Cancel button to the dialog.
If the user clicks Cancel, the automation stops Optional
ButtonOkLabelN/A

One of:
Error
Exclamation
Warning
Question

Optional (Defaults to "OK")

ButtonCancelLabelN/AN/A Optional (Defaults to "Cancel")
ImageN/ASynonymous with : Type - for backward compatibility (If both image and type are set, image will be used)

All will be blue, except exclamation (yellow) and error (red).

Image values that can be used have a purple title:


Example Scripts

<MsgBox Title="Information" Message="THIS SCRIPT SHALL RUN FOR A VERY LONG TIME" MessageExtended="Continue?" Type="questioN" WithCancel="true"/>
XML
<ytriaAutomation Application="sapio365" WizardTitle="#MeToo" WizardDescription="Appel GROUPS" WizardTooltip="Je clique ici mais c'est un script de GROUPS" WizardIcon="bicycle" 
WizardIconType="Light">
	<MsgBox Title="Information" Message="THIS SCRIPT SHALL RUN FOR A VERY LONG TIME" MessageExtended="Continue?" Type="questioN" WithCancel="true"/>
</ytriaAutomation>
XML