<doc>
  <legacy_id>1592</legacy_id>
  <name>openStacks</name>
  <type>function</type>
  <syntax>
    <example>the openStacks</example>
    <example>openStacks()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
    <synonym>windows</synonym>
  </synonyms>
  <classification>
    <category>Windows &amp; Dialog Boxes</category>
  </classification>
  <references>
    <function tag="mainStacks">mainStacks Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> a list of the names of all open <function tag="stacks">stacks</function>.</summary>
  <examples>
    <example>the openStacks</example>
    <example>if it is not among the lines of the openStacks then open stack it</example>
  </examples>
  <description>
    <p>Use the <b>openStacks</b> <control_st tag="function">function</control_st> to determine which <function tag="stacks">stacks</function> are open.</p><p/><p><b>Value:</b></p><p>The <b>openStacks</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list with the short <property tag="name">name</property> <glossary tag="property">property</glossary> of each open <object tag="stack">stack</object>, one per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>The list includes stacks that are part of the LiveCode development environment (such as the message box and menu bar).</p><p/><p>The list also includes open stacks that cannot be seen because their <b>visible</b> <glossary tag="property">property</glossary> is set to false.</p><p/><p>The order of the list is determined by the order of the windows on the screen. The frontmost window is first.</p>
  </description>
</doc>