The MsgBox function displays an information message box in a modal dialog and interrupts the automation.
<MsgBox Title="Information" Message="THIS SCRIPT SHALL RUN FOR A VERY LONG TIME" MessageExtended="Continue?" Type="questioN" WithCancel="true"/>
XML
Tag Attributes
Attributes
Attribute Values
Value Description
Comment
Title
N/A
N/A
Optional
Message
N/A
N/A
Mandatory
MessageExtended
N/A
Appears below message
Optional
WithCancel
True / False
Defaults toFALSE
Adds a Cancel button to the dialog. If the user clicks Cancel, the automation stops.
N/A
Type
N/A
One of: Error Exclamation Warning Question
Optional
Example Script
<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="www.rogermag.com" Message="GROUPS" MessageExtended="C'est l'heure du slip: {%time%}" Type="eXclamation"/>
</ytriaAutomation>
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
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.