openStacks

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the openStacks
openStacks()
Synonymswindows
Summary

Returns a list of the names of all open stacks.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the openStacks
if it is not among the lines of the openStacks then open stack it
Values
NameTypeDescription
return

The openStacks function returns a list with the short name property of each open stack, one per line.

RelatedKeyword: line
Property: name
Control Structure: function
Object: stack
Function: stacks, mainStacks
Glossary: property, return
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.

Tagswindowing