home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Scripting
- Sent: 6/27/96 9:58 AM
- Received: 6/27/96 10:11 AM
- From: Hutchings, Richard B. "Brad", brad@hutchings-software.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- > I've wanted to make my part scriptable, but it seems like my
- dictionnary
- > isn't recognized by the Script Editor. I always get a syntax error
- > "expected class name but got identifier" but if I open the part's
- > dictionnary, my class is well defined. Have I missed something ?
- >
- > Stephane.
- >
-
- It sounds like an OpenDoc issue to me. OpenDoc uses a master merged
- 'aete', which appears to be rebuilt only when the editors folder
- changes. You need to force OpenDoc to rebuild the editors database by
- moving soemthing in and out of that folder.
-
- Then, you need to quit and restart Script Editor, because it appears
- to cache 'aete's that it finds.
-
- Finally, open a document or stationery with your part. Then, open
- Script Editor. Now, drag the __document__ file onto the Script Editor
- icon in the Finder. The merged terminology dictionary used by OpenDoc
- will be opened. Check to make sure your terminology is in there.
-
- Remember that since terminology is merged, it could clobber that of
- another part, so (as I learned this week), keep your new terminology
- to a minimum and look over the existing suites. A good list to dicuss
- terminology issues is "AppleScript-Implementors". When I brought my
- terminology questions up there, I immediately had two heavy-weights in
- the scripting world offering advice and assistance. And my editor is a
- lot better for it!
-
-
- Brad
-
- <mailto:brad@hutchings-software.com>
-
-
-
-