Name: openStacks

Type: function

Syntax: the openStacks

Syntax: openStacks()

Summary: <return|Returns> a list of the names of all open <stacks>.

Synonyms: windows

Introduced: 1.0

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Example:
the openStacks

Example:
if it is not among the lines of the openStacks then open stack it

Returns: The <openStacks> <function> <return|returns> a list with the short <name> <property> of each open <stack>, one per <line>.

Description:
Use the <openStacks> <function> to determine which <stacks> are open.

The list includes stacks that are part of the LiveCode development environment (such as the message box and menu bar).

The list also includes open stacks that cannot be seen because their visible <property> is set to false.

The order of the list is determined by the order of the windows on the screen. The frontmost window is first.

References: name (property), line (keyword), stack (object), function (control_st), stacks (function), mainStacks (function), property (glossary), return (glossary)

Tags: windowing
