After setting the language environment to AppleScript:
* Use the command "do script" and enclose the HyperTalk code in quotes.
For example:
do script "send mouseUp to card button 5"
* Or put AppleScript code in a field, then use something like this:
do card field scriptText as AppleScript
If the field scriptText has AppleScript code in it, the HyperTalk command
will execute it as AppleScript.