Applications that are "Scriptable" by scripting applications such as AppleScript, contain a resource called the "AETE Resource." ClarisWorks 2.0 through 2.1v2 contained an AETE resource. This resource was removed in ClarisWorks 2.1v3 and v4. AppleEvents are NOT A SUPPORTED FEATURE OF CLARISWORKS, nor have they been fully tested by Claris. You can still send events to ClarisWorks 2.1v3, v4, and 3.0 but Claris Corporation does not recommend or support this.
Here is how the ClarisWorks 2.1v1 and 2.1v2 event dictionary appears in the AppleScript Script Editor. ClarisWorks 2.0 did not include Core: Class events.
Required Suite: Events that every application should support
Quit Application: Quit application
Quit Application
Print Documents: Print the specified list of documents
Print Documents alias -- List of documents to print
Open Documents: Open the specified list of documents
Open Documents alias -- List of documents to open
Open Application: Sent by finder when user double clicks on the application
Open Application
Core Subset: Subset of definitions from the core suite
Get Data: Get the data from an object
Get Data reference -- The object whose data is to be returned
[Return Type type class] -- Desired types for data
Result: anything
Set Data: Set an object's data
Set Data reference -- The object to change
Data anything -- The new value
Class Document: A live document
Elements:
Record by numeric index, by name
Properties:
Name string [r/o] -- The name of the document
Class Record: A Data Base record
Elements:
Cell by numeric index, by name
Properties:
Index integer -- The record number
Class Field: A Data Base field
Elements:
Cell by numeric index, by name
Properties:
Name string [r/o] -- The name of the field
Class Cell: A Data Base cell
Properties:
Name string [r/o] -- The name of the field