Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
save
[this
] stack as
[stack
] fileName save stack fileName ¬ as
[stack
] fileName
The save
command saves a copy of a stack. It’s the same as choosing Save A Copy from the File menu, but it doesn't display a directory dialog box. Use save
when you don't want a dialog box to interrupt a handler. save
[this
] stack
saves a copy of the current stack. the result
to "Couldn’t duplicate stack."
You can test whether HyperCard saved the stack successfully as follows: save this stack as "My Copy"
if the result is not empty then ...
save this stack as stack "My Copy"
save stack as stack "Copy of" && the short name of this stack
save stack "Home" as stack "Copy of Home"
if the result is not empty then ...
"my stack"
"HD20:Wally's Stacks:my stack"
"my file alias"
Commands
Version 0.7b1 (March 24, 2022)