home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-12 | 1.5 KB | 35 lines | [TEXT/CWIE] |
- The Scripting Objects
-
- This file attempts to describe the point of these files. Note that it was
- written before any code was written -- so it may not reflect reality. .h
- files are the way to go!
-
- Most of this is taken from 18 & 19, with some minor modifications.
-
- GOSAScriptComponent
- - The guy makes a connection to a scripting component, like Apple Script
- or tcl. Most applications need only one of these. The default
- constructor will open apple script. Args to other constuctors can
- be added to do other components. Will throw an exception in the
- constructor if the component can't be opened.
- - Its main use is as input to other objects that need to be attached to
- a scripting component.
- - When the object is destroyed, the connection to the scripting component
- is lost. You shouldn't have any of the other components that use this
- guy as an argument around at this point!
-
- GOSAID
- - Simple guy to keep track of an OSA ID -- that thing by which we access
- errors, scripts, etc. etc.
- - Constructor takes a OSAScriptContext, and perhaps a osaid dude.
- - destructor can delete the item from the script context it was created
- in, if requested (use a "settor" function).
- - Includes code to return a AEDesc if requested.
- - Be cool if this could be a subclass of AEDesc (but I don't see how to
- automat access to the aedesc guy without keeping duplicate data.
-
- GOSAScript
- - Subclass of GOSAID
- - Supports running.
- - Can load and run scripts from files, delete them, etc. etc.
-