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

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
  3. From: d88-jwa@dront.nada.kth.se (Jon WΣtte)
  4. Subject: Re: How do I use the 'miscdosc' AppleEvent?
  5. Message-ID: <1992Dec18.174212.23244@kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: dront.nada.kth.se
  8. Organization: Royal Institute of Technology, Stockholm, Sweden
  9. References: <claytor.1-171292131137@resis.phys.nd.edu>
  10. Date: Fri, 18 Dec 1992 17:42:12 GMT
  11. Lines: 24
  12.  
  13. In <claytor.1-171292131137@resis.phys.nd.edu> claytor.1@nd.edu (Nelson Claytor) writes:
  14.  
  15. >I'm having some trouble using the 'dosc' Apple Event to convince 
  16. >another application to run a script. So far, I'm basically testing only
  17.  
  18. >in the AE Registry. Alpha returns -1769. Does anyone see anything obvious
  19. >wrong with what I'm doing? My code follows the .sig.
  20.  
  21. Yes.
  22.  
  23. The dosc AppleEvent should send THE SCRIPT as typeChar in a handle
  24. (no length byte or anything)
  25.  
  26. You're sending a script FILE.
  27.  
  28. Cheers,
  29.  
  30.                         / h+
  31.  
  32. -- 
  33.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  34.  Engineering: "How will this work?" Science: "Why will this work?" Management:
  35.  "When will this work?"  Liberal Arts: "Do you want fries with that?"
  36.                      -- Jesse N. Schell
  37.