Re: Need sample code of MPW tool using Apple Events

Due to popular demand, I've enclosed the source for my (old) port of maplay
to the Mac. This is the source to "MPEG Audio for Macintosh 0.3.3". I no
longer support this quick port, since my freeware SoundApp 2.1.1 supports
MPEG playback and conversion and works much better.

-Norman

#### TEXT mpw-tool-appleevents-c.txt ****

Date: Fri, 18 Sep 1992 01:50:18 GMT

In article <1992Sep17.181819.23018@oakhill.sps.mot.com>,
tomc@oakhill.sps.mot.com (Tom Cunningham) wrote:
>
>
> Does anyone have some code for an MPW tool using Apple Events that
> they could send me? In particular, I want to communicate with the
> Tool Server (e.g. run a script) via Apple Events from within an MPW
> tool. Thanks.

I used the following in a tool I wrote to kill and restart the Finder. This
was in the hopes that shutting down the Finder would help speed up my long
compiles (it didn't). Remember that you have to have one of the MPW Shells
that comes with its High-Level Event Aware bit set:

void KillFinder()
{

Path: /www/exparrot/files.tidbits.com/info-mac/dev/src/mpeg-audio-033-src.hqx

AttachmentSize
File mpeg-audio-033-src.hqx81.91 KB
Architecture: 
File Type: 
License: 
Year: 
Archive: