do expression [as scriptLanguage]

The do keyword forces HyperCard to evaluate expression and to send the result as a message to the current card.

The value of expression can contain more than one line. For example, if you have a series of statements in a card field called Example, HyperCard will apply do to each line:

do card field "Example"

When you use the as scriptLanguage form, HyperCard executes the script in expression using the OSA-compliant scripting component named in scriptLanguage:

do field 1 as AppleScript do theScript as UserTalk


You can also send do from the Message box.