revLoadedStacks | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns a list of the names of all stacks that are loaded into memory. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: message box Control Structure: function Message: startup, openBackground, preOpenStack, openStack, preOpenCard Function: stacks, mainStacks Library: Common library, library Glossary: return, loaded into memory, main stack, handler, development environment, message, group, standalone application, parameter, property inspector, application | ||||||
Description | Use the revLoadedStacks function if you need to perform some operation on all stacks that are loaded into memory. If the whichStacks parameter is all, the revLoadedStacks function returns all stacks that are loaded into memory, including stacks that are part of the LiveCode development environment (such as the message box, property inspector, and so on). If the whichStacks parameter is application, the revLoadedStacks function returns all loaded stacks that are not part of the development environment. If the whichStacks parameter is preference, the revLoadedStacks function checks the setting of the "LiveCode UI Elements in Lists" item in the View menu, and returns either all stacks, or only stacks that are not part of the development environment, depending on the setting. If you don't specify a whichStacks parameter, the revLoadedStacks function returns all loaded stacks that are not part of the development environment. This is the same behavior as if application had been specified as the whichStacks parameter.
| ||||||
Tags | objects |