||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
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.
answer "The script of this field is:" & ¬
return & return & the script of me with "OK"
HyperTalk DefinitionThe object
HyperCard, or any expression that identifies an object by name, number, or id.
background part 6
card field id 3894
stack "My Stack"
AppleScript DefinitionAn 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.
"The sum is:" && 3
card field 1
line 1 of bg fld "Address"
the Message box
myVar -- a variable
background, bkgnd, button, card, field,
menu, menuItem, and
« right | HyperTalk Reference
| scriptEditor »
(March 24, 2022)
Switch to Modern View