home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / hypercar / 4940 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.6 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!mdisea!uw-coco!nwnexus!phaedrus
  3. From: phaedrus@halcyon.com (Mark Phaedrus)
  4. Subject: Sending arbitrary AppleEvents to other applications
  5. Message-ID: <1993Jan27.191358.21956@nwnexus.WA.COM>
  6. Sender: sso@nwnexus.WA.COM (System Security Officer)
  7. Organization: The 23:00 News and Mail Service
  8. Date: Wed, 27 Jan 1993 19:13:58 GMT
  9. Lines: 19
  10.  
  11.      I'm trying to use HyperCard 2.1 to prototype an interface to an 
  12. AppleEvent-driver background application, and I'm running into problems.
  13. I'd been told that HyperCard could send and receive arbitrary AppleEvents
  14. (events with multiple parameters stored under various keywords), and I can see
  15. from the documentation how I would go about receiving such events (using an
  16. appleEvent handler, requesting data by keyword), but I don't see any mention
  17. of how to construct such multiple-keyword AppleEvents to send to other
  18. applications.  Do I need to use an XCMD or XFCN for this, and if so could
  19. someone point me towards one?
  20.      (For those of you familiar with Frontier's AppleEvent syntax, here's an
  21. example of the sort of event I need to be able to send: appleEvent('CFB0',
  22. 'MEZZ','srch','----',258,'scom','like','sval',"%in%",'show',257,'max#',500,
  23. 'sess',0).  I also need to be able to receive and get information from the
  24. reply event.)
  25. -- 
  26. \o\ Internet: phaedrus@halcyon.com  (Seattle, WA Public Access Unix)     \o\
  27.  \o\ "How'd you like to move a few steps down the food chain, pal?"       \o\
  28.   \o\ If you enjoy fantasy/SF stories with transformation themes, email me \o\
  29.    \o\ for a copy of the Transformation Stories List.                       \o\
  30.