There are four events that are required for every application that claims to be AppleScriptable. This section discusses these four events and their syntax.
The events covered in this section are:
Purpose:
This event tells the CodeWarrior IDE to open the specified files.
Open filename-list [ converting ] expression
If converting is specified, any project files that were created with previous
versions of the CodeWarrior IDE will be updated.
Open "HD:MyProject.mcp" converting yes Open "HD:MyProject.mcp"
Purpose:
This event tells the CodeWarrior IDE to print the specified files.
Print filename-list
Purpose:
This event tells the CodeWarrior IDE to quit.
Purpose:
This event is sent to an application when it is double-clicked. Upon receiving the event, the application should launch itself.