home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!spool.mu.edu!umn.edu!csus.edu!netcom.com!leonardr
- From: leonardr@netcom.com (Leonard Rosenthol)
- Subject: Re: How do I use the 'miscdosc' AppleEvent?
- Message-ID: <1992Dec18.224804.7587@netcom.com>
- Organization: Netcom Online Communications Services (408-241-9760 login: guest)
- References: <claytor.1-171292131137@resis.phys.nd.edu> <1992Dec18.174212.23244@kth.se>
- Date: Fri, 18 Dec 1992 22:48:04 GMT
- Lines: 28
-
- In article <1992Dec18.174212.23244@kth.se> d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
- >In <claytor.1-171292131137@resis.phys.nd.edu> claytor.1@nd.edu (Nelson Claytor) writes:
- >
- >>I'm having some trouble using the 'dosc' Apple Event to convince
- >>another application to run a script. So far, I'm basically testing only
- >
- >>in the AE Registry. Alpha returns -1769. Does anyone see anything obvious
- >>wrong with what I'm doing? My code follows the .sig.
- >
- >The dosc AppleEvent should send THE SCRIPT as typeChar in a handle
- >(no length byte or anything)
- >
- >You're sending a script FILE.
- >
- Actually there are three ways that a 'misc/dosc' can be sent, either
- as the script as text (typeChar), an alias to the file containing the script
- (typeAlias or typeFSSpec) or as an object specifier to the script.
-
- Most applications only support the first one, in fact the only program
- that I kinow of that supports all three (or anything other than the first) is
- MicroPhone II 4.0.
-
- --
- -----------------------------------------------------------------------------
- Leonard Rosenthol Internet: leonardr@netcom.com
- Director of Advanced Technology AppleLink: MACgician
- Aladdin Systems, Inc. GEnie: MACgician
-
-