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