app.newWindow

Syntax app.newWindow (title)

Params title is a string indicating the title of the new window.

Action Creates a new window with the indicated title.

If the string is empty, an untitled window is created.

Returns Returns the title of the new window.

Examples app.start ("MinApp"); app.newWindow ("Steve's email")

   » "Steve's email"

app.start ("MinApp"); app.newWindow ("")

   » "Untitled 2"

Platform Notes This verb is only implemented in the Mac OS version of Frontier.

Notes If a window with the title is already open, the application comes to the front and displays an alert dialog box; and the empty string is returned.

This alert dialog can be enabled or disabled using the enableDialogs verb.

See Also app.closeWindow

app.openWindow

app.saveWindow

app.revertWindow

app.moveWindow

app.printWindow

app.selectWindow

app.setTargetWindow

Discuss