Tag: MsgBox

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

AttributesAttribute ValuesValue DescriptionComment
TitleN/AN/AOptional
MessageN/AN/AMandatory
MessageExtendedN/AAppears below messageOptional
WithCancel

True / False 

Defaults to FALSE

Adds a Cancel button to the dialog.
If the user clicks Cancel, the automation stops.
N/A
TypeN/AOne 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