[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl + AppleEvents



> Chris Nandor writes Thu, 3 Sep 1998 07:22:59 -0400
> >At 06.46 -0400 1998.09.03, Alan Fry wrote:
> >>However 'syso' does not exist in Finder's 'aete' as an event class, (or
> >>at least I can't find it there) and neither do 'beep' nor 'GMT ' figure
> >>there as events. I connot see the logic of putting 'MACS' as the address
> >>of an event which is not to be found at that address. But for all that,
> >>it works. (An AppleScript BTW would not 'tell the Finder' anything: it
> >>wouldn't even mention the Finder.)
> >
> >MACS is also the address for scripting additions (OSAXen).  Beep happens
> >to be an OSAX.  Drag and drop yoru various OSAX on aeteconvert and have
> >at it.
> 
> Well so it is -- thanks. But tell me how did you suss out that 'MACS' is
> also the address for OSAXen? Is it so in all cases? And where does it tell
> you this? The OSAX itself has 'ascr' as the creator, which would lead one
> to suppose it ought to be the address, since in the ordinary run of events
> (no pun intended) the 'creator' _is_ the address, is it not?

I have no experience with raw Apple Events, but while writing
AppleScript, I have noticed, for example, that the Display Dialog OSAX
displays the dialog in the application specified in the "tell" block.

-- 
  Kevin Reid.      |         Macintosh.
   "I'm me."       |      Think different.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch