Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Commands

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

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

« returnKey | HyperTalk Reference | save »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Commands

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

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

« returnKey | HyperTalk Reference | save »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View