home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 20063 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. 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
  3. From: leonardr@netcom.com (Leonard Rosenthol)
  4. Subject: Re: How do I use the 'miscdosc' AppleEvent?
  5. Message-ID: <1992Dec18.224804.7587@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. References: <claytor.1-171292131137@resis.phys.nd.edu> <1992Dec18.174212.23244@kth.se>
  8. Date: Fri, 18 Dec 1992 22:48:04 GMT
  9. Lines: 28
  10.  
  11. In article <1992Dec18.174212.23244@kth.se> d88-jwa@dront.nada.kth.se (Jon Wtte) writes:
  12. >In <claytor.1-171292131137@resis.phys.nd.edu> claytor.1@nd.edu (Nelson Claytor) writes:
  13. >
  14. >>I'm having some trouble using the 'dosc' Apple Event to convince 
  15. >>another application to run a script. So far, I'm basically testing only
  16. >
  17. >>in the AE Registry. Alpha returns -1769. Does anyone see anything obvious
  18. >>wrong with what I'm doing? My code follows the .sig.
  19. >
  20. >The dosc AppleEvent should send THE SCRIPT as typeChar in a handle
  21. >(no length byte or anything)
  22. >
  23. >You're sending a script FILE.
  24. >
  25.     Actually there are three ways that a 'misc/dosc' can be sent, either
  26. as the script as text (typeChar), an alias to the file containing the script
  27. (typeAlias or typeFSSpec) or as an object specifier to the script.
  28.  
  29.     Most applications only support the first one, in fact the only program
  30. that I kinow of that supports all three (or anything other than the first) is
  31. MicroPhone II 4.0.
  32.  
  33. -- 
  34. -----------------------------------------------------------------------------
  35. Leonard Rosenthol            Internet:     leonardr@netcom.com
  36. Director of Advanced Technology        AppleLink:    MACgician
  37. Aladdin Systems, Inc.            GEnie:        MACgician
  38.  
  39.