Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
set [the] script of object to text
The script
property returns or sets a text string equal to the script of the specified object in the current stack or in the stack script of another stack.
When you set the script
property with the set
command, you replace the existing script entirely.
HyperTalk Definition
The object HyperCard
, or any expression that identifies an object by name, number, or id.
For example:
AppleScript Definition
An identifiable part of an application, or a thing within an application that can respond to commands.
An expression that evaluates to a text string.
A text expression can be a literal string surrounded by quotation marks or the value of a container.
For example:
See also: background, bkgnd, button, card, field, menu, menuItem,
and stack