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] language to resourceName
where resourceName
is a language supported by HyperCard.
The language
property returns or sets the language in which HyperCard displays scripts. The default setting is English
, and it’s always available.
To use other languages, a script translator resource must exist in the current stack, any stack later in the message-passing order, or in HyperCard itself.
Contrast this property with the scriptingLanguage of object
, which describes an object's scripting system.
A text expression that evaluates to the name of a resource in the current stack, a stack being used, the Home stack, or HyperCard itself.
Resources have different types. Some common resource types used with HyperCard are PICT
, ICON
, XCMD
, and XFCN
.
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.