Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Properties

Note: This is a work in progress and will be formatting errors. 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

Placeholders

object
HyperTalk DefinitionThe 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 DefinitionAn identifiable part of an application, or a thing within an application that can respond to commands.

Related Topics

« scriptEditor | HyperTalk Reference | scriptTextFont »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View