| Home | Digita Scripting |
Digita Desktop |
Digita Applications |
Other Files |
Links |
|
Digita Script Tutorials - The Alert CommandUse the Alert command when you need to warn the user that continuing the script will produce irreversible results (ex. deleting or overwriting a file) or that the script has specific storage, power, and/or time requirements to ensure a successful result. When processed by a Digita-enabled device, the Alert command displays a screen containing your message and the Exit and Continue softkey prompts. The progress of your script is paused until the user presses either the Continue or Exit softkey. The Continue softkey lets the script 'continue'. The Exit softkey stops the script and returns the user to the menu screen. The Alert command can display text strings or variable values. The text strings to be displayed can have maximum length of 31 characters and must be placed within quotes. Quotes are not required to display the contents of a variable. For example: Alert ("The chosen image will be erased") To display messages longer than 31 characters, format multiple strings and or variables as shown below. Approximately 131 characters (5 lines) can be displayed on the Alert screen. If the display string you entered can't fit on a single line, the text will be continued on the next line. For example:
name "Alert Screen example"
Back to tutorial page |