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] scriptingLanguage [of object] to languageName
where languageName
is HyperTalk or the name of any OSA-compliant scripting system such as AppleScript.
The scriptingLanguage
property sets or retrieves the scripting system of the object or (when you don't use of object
) of the message box.
LanguageName
must be present in the computer's system resources.
The message box and each individual object can all respond to different scripting systems.
You can also set the scriptingLanguage
property for an object by choosing from the Scripting Language pop-up menu at the top of each object's script editor window.
The default languageName
is HyperTalk.
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.