Alert shows a simple text dialog with a colored title and a 'Ok' button to exit.

app.Alert( message, title, options, hue )

If title was not given the dialog looks like a normal alert box.
Without the NoDim option the background behind the dialog will be darkened.

Note: If no (or a falsy) title is specified the method will use the standard DOM alert() method, which will block the code's execution until closed.

See Also: Error, ShowTextDialog, CreateYesNoDialog.

Example - Yellow Title click to expand contents