Home
The HyperCard Center
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.

run

run
send "run" to object

The run command executes an OSA script.

Used in any other way, run does nothing.

Examples

send "run" to button "Automatic" -- invoke attached QuicKeys script
send "run" to button "Quill" -- invoke implicit AppleScript run handler
on mouseUp
run -- invoke AppleScript in card script
end mouseUp

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 Retro View