63. prompt
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 63. prompt

Parameter syntax:

    title message [ suggested_value ]?

This command is only useful to write interactive macro commands.

Displays a dialog box with title `title` asking the user to answer question `message` by typing a string in a text field. Returns typed string.

If `suggested_value` is specified, the text field is initialized with this value.

Examples:

    prompt Question "Number of columns:"
    prompt Question "Text align:" left

Prev | Up | Next
62. preview | Home | 64. putAttribute