Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference »

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

scriptingLanguage

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.

Examples

get the scriptingLanguage of bg button 6
set the scriptingLanguage to AppleScript -- for Message box only

Related Topics

Placeholders

object

HyperTalk Definition

The object HyperCard, or any expression that identifies an object by name, number, or id.

For example:

HyperCard
me
[the] target
button 1
background part 6
card field id 3894
this card
next background
stack "My Stack"

AppleScript Definition

An identifiable part of an application, or a thing within an application that can respond to commands.

HyperTalk Reference


Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Modern View