Dialogue Boxes: Difference between revisions
From Sysgem Support
Jump to navigationJump to search
No edit summary |
Developer Hints: Display a dialogue box from a SEM script |
||
| Line 1: | Line 1: | ||
Sysgem Enterprise Manager (SEM) | Sysgem Enterprise Manager (SEM) Developer Hints: | ||
How to display a dialogue box from a SEM script: | How to display a dialogue box from a SEM script: | ||
Revision as of 17:28, 19 January 2011
Sysgem Enterprise Manager (SEM) Developer Hints:
How to display a dialogue box from a SEM script:
e.g. in a Windows Script (in Perl)
print "\@{{B Banner - Title\n";
print "\@{{T 1st Line of information for display inside the box\n";
print "\@{{T \n";
print "\@{{T Last line of information\n";
print "\@{{DI\n";
The "\@{{DI\n" will display the dialogue box as an informational Box.
To display an error box, use: "\@{{DE\n" To display an warning box, use: "\@{{DW\n" To display an question box, use: "\@{{DQ\n"
Note that a question box can only e effective if executed from the "(M) Post Processing" script from a Menu option, amd the effect is that if the user selects "Yes" then the remainder of the script will be executed, whereas if the user select "No" then the rest of the script after the print "\@{{DQ\n"; statement will be ignored.