create
Syntax
create button [<name>]
create field [<name>]
create card [<name>]
create stack [<name>]
create project <path>
create button "OK"
create field
create card "Help"
create project "/Users/sandra/MyProject"
create project "/Users/andrea/Homework.xstk"
Explanation
The create
command lets you create new objects on the current card, or new cards
in the current stack, or new stacks in the current project, or a new project on disk.
You can optionally specify a name they should use.
A new...
message is sent to the newly-created object (or in the case of a newly-created card/background/stack/project, to the first card in the new object). Possible new...
messages are newButton
, newField
, newGraphic
, newCard
, newBackground
, newStack
, newBackground
.