Error getting tags :
error 404Error getting tags :
error 404 create stack | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
create stack
Basics
Expander triangle
Type
Command
Syntax

create [invisible] stack [stackName [with background]]

Introduced
1.0
Environment
Desktop,Web
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Makes a new blank stack.
Examples

create stack "Test"
create stack (field 3) with background "Standard Navigation"

Additional Comments
Expander triangle

Use the create stack command to make a new stack.

Parameters:

The stackName is the name of the newly-created stack. If you don't specify a stackName, the new stack's name is the value of the seconds function at the time of creation.

The background is a reference to any group in the defaultStack. This group, if specified, is included in the new stack.

Comments:

The newly created stack is not saved to a file until you explicitly save it. If you close it without saving it, the stack disappears.

If you use the create invisible stack form, the stack is created with its visible property set to false, so it cannot be seen. Use this form to create a hidden window, change its appearance or position, then make it visible.

The stack created when create stack is executed is a clone of the templateStack.

User Comments
Expander triangle
User thumbnail
shaosean@wehostmacs.com
StarStarStarStarStar
May 6, 2009
If you create a stack without giving it a name

create stack

the actual name of the stack is "Stack " & the seconds (ie. "Stack 1241648039")
User thumbnail
shaosean@wehostmacs.com
StarStarStarStarStar
May 6, 2009
When creating a stack the "name" of the stack is returned in the "it" variable.


create stack "Moof"
put it -- stack "Moof"

create stack
put it -- stack "Stack 1241648225"

User thumbnail
Mark Wieder
StarStarStarStarStar
May 9, 2009
Note that the IDE preferences for properties such as "destroyStack" do not affect the templateStack settings. If you want the destroyStack of a new stack created from a "create stack" command to be true then you need to "set the destroyStack of the templateStack to true" first.