Lingo Dictionary > T-Z > windowPresent()

 

windowPresent()

Syntax

windowPresent(windowName)

Description

Function; indicates whether the object specified by windowName is running as a movie in a window (TRUE) or not (FALSE). If a window had been opened, windowPresent remains TRUE for the window until the window has been removed from the windowList property.

The windowName argument must be the window's name as it appears in the windowList property.

Example

This statement tests whether the object myWindow is a movie in a window (MIAW) and then displays the result in the Message window:

put windowPresent(myWindow)

See also

windowList