Alert

Displays an alert message.

Syntax:

alert message

Example:

alert Hello world

To display a custom title with the alert message:

  1. Open a reference page for the current document (View > Reference Pages).

  2. Place a text frame on the reference page and enter the custom title in the text frame.

  3. Right-click on the text frame and choose Object Properties to display the Text Frame Properties dialog.

  4. Go to the Text Frame tab and set the Flow > Tag to AlertTitle.