Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

cantAbort

set [the] cantAbort of stack ¬ to trueOrFalse

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.


Placeholders

stack
An expression that identifies a stack by its name, using one of the following forms:

this stack
stack text -- name or path name


For example:

stack "Home"
stack "Simonides:School:References"
this stack
stack "HD:Stacks:Addresses alias
When used inside a stack script:
me
When a stack receives a message:[the] target

trueOrFalse
Any expression that evaluates to the HyperTalk and AppleScript constants true or false.

For example:

true
false
the hilite of bg btn "Yes"
fld "Zip" contains "95014"
the short name of this stack is "Fred"


« brush | HyperTalk Reference | cantDelete »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

cantAbort

set [the] cantAbort of stack ¬ to trueOrFalse

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.


Placeholders

stack
An expression that identifies a stack by its name, using one of the following forms:

this stack
stack text -- name or path name


For example:

stack "Home"
stack "Simonides:School:References"
this stack
stack "HD:Stacks:Addresses alias
When used inside a stack script:
me
When a stack receives a message:[the] target

trueOrFalse
Any expression that evaluates to the HyperTalk and AppleScript constants true or false.

For example:

true
false
the hilite of bg btn "Yes"
fld "Zip" contains "95014"
the short name of this stack is "Fred"


« brush | HyperTalk Reference | cantDelete »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View