||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. 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.
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.
languageName is HyperTalk.
get the scriptingLanguage of bg button 6
set the scriptingLanguage to AppleScript -- for Message box only
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.
« scriptEditor | HyperTalk Reference
| scriptTextFont »
(March 24, 2022)
Switch to Modern View