Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
The cantModify property returns or sets whether a stack can be changed in any way. It corresponds to the Can’t Modify check box in the Protect Stack dialog box.
Setting the cantModify of a stack to true selects both the Can’t Modify Stack check box and the Can’t Delete Stack check box in the Protect Stack dialog box. When cantModify is true, a padlock appears in the menu bar.
The default value is false (meaning that the card, background, or stack can be modified).
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: