Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
The cantAbort
property returns or sets whether users can type Command-. (Command-period) to stop any running handlers. It corresponds to the Can’t Abort check box in the Protect Stack dialog box. Use cantAbort
to prevent users from canceling certain critical operations that would leave a stack in a confusing or dangerous state.
Warning: Use cantAbort
with caution. Once cantAbort
is set to true, there's no way to halt an errant handler. Set cantAbort
to true, and then immediately set it to false when you no longer need it.
An expression that identifies a stack by its name, using one of the following forms:
For example:
When used inside a stack script: me
When a stack receives a message: [the] target
Any expression that evaluates to the HyperTalk and AppleScript constants true
or false
.
For example: