AppleEvents in ClarisWorks 4.0

The complete listing, with descriptions, of AppleEvents in CW 4.0

This information was provided by Claris Corporation on 16 March 1998, and incorporated into Apple Computer's Tech Info Library.

Required Suite: Terms that every application should support

open: Open the specified object(s)
open alias-- list of objects to open

print: Print the specified object(s)
print alias-- list of objects to print

quit: Quit application
quit

run: Sent to an application when it is double-clicked
run

Standard Suite Subset: Standard Definitions

close: Close an object
close item-- the object to close
[saving yes/no/ask]-- Specifies whether or not changes should be saved before closing
[saving in alias]-- the file in which to save the object
[as type class]-- the type of file in which to save the document
[using string]-- the name of the XTND translator to use to save the document

open: Open the specified object(s)
open alias-- list of objects to open
[using string]-- the name of the XTND translator to use to open the file
[as DR/WP/SS/DB/PT/CM]-- the type of document as which to open the file

print: Print the specified object(s)
print alias-- list of objects to print
[merge alias]-- list of database files to merge

[one copy boolean]-- print one copy without displaying the print dialog?

quit: Quit application
quit
[saving yes/no/ask]-- specifies whether to save currently open documents

save: Save a document
save document-- the document to save
[in alias]-- the file in which to save the document
[as type class]-- the type of file in which to save the document
[using string]-- the name of the XTND translator to use to save the document

Class application: An application program
Elements:
document by numeric index, by name, as a range of elements
window by numeric index, by name, as a range of elements
Properties:
current slide slide [r/o] -- the current slide being displayed in a slide show

Class document: an open document

Class window: a window

Miscellaneous Standards Subset: Miscellaneous definitions

cut: Cut the current selection to the clipboard
cut

copy: Copy the current selection to the clipboard
copy

paste: Paste from the clipboard to the current selection
paste

do script: Execute the specified macro

do script anything-- the name of the macro to run

do menu: select a menu item and perform its action
do menu menu item-- the menu item to be selected

Class menu: A menu
Plural form:
menus
Elements:
menu item by numeric index, by name, as a range of elements
Properties:
name string [r/o]-- the name of the menu
ID small integer [r/o]-- the menuÕs ID

Class menu item: A menu item
Plural form:
menu items
Properties:
name string [r/o]-- the name of the menu
index integer [r/o]-- the menu item number

ClarisWorks Suite: Definitions specific to ClarisWorks

start slides: Start the slide show for the current document
start slides

stop slides: Stop the slide show, returning to the normal application state
stop slides

display: Go to a specific slide
display slide -- the slide to be displayed

Class slide: A slide which may be displayed in the slide show
Plural form: slides

Published Date: Feb 18, 2012