• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AETE? How can I read these
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AETE? How can I read these


  • Subject: Re: AETE? How can I read these
  • From: Chris Nebel <email@hidden>
  • Date: Thu, 06 Sep 2001 12:13:23 -0700
  • Organization: Apple Computer, Inc.

Jeff Horton wrote:

> On 9/6/01 10:35 AM, "Jean-Marie Hoornaert" <email@hidden> wrote:
>
> > le 6/09/01 16:18, Jeff Horton a ecrit :
> >
> >> What program can I use to view the Apple Events resource of an application?
> >> ResEdit? Or is this another program that is more in depth.
> >
> > You get the icon of an application.
> > You drag and drop it on "Script Editor".
> > Now, you see the aete resource of this application ;-)
> I have been scripting for 6 years now with AppleScript and I know that I
> need to use Script Editor to read the dictionaries, but I wanted to know how
> to read the AETE resources of an application. I have seen before that people
> call commands to an application that aren't in the "norm" of scripting
> syntax used with chevrons instead.

The dictionary *is* the aete resource. When you see people using chevrons,
they're sending commands that aren't in the aete/dictionary, but the application
happens to respond to. It's sort of like going to In-n-Out Burger and asking for
your fries "well-done" -- it's not on the menu anywhere, but the cashiers know
what to do.

How do you find out these magic extra commands, since the aete won't tell you?
Ideally, some helpful person or documentation tells you; the only other way I'm
aware of (short of getting your hands on the application source code) is to grub
around in the Apple event handler tables with MacsBug. Even that will only tell
you the verb code -- to figure out what parameters the command takes, you'll need
to disassemble their code. Very ugly.


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: AETE? How can I read these
      • From: Shane Stanley <email@hidden>
    • Re: AETE? How can I read these
      • From: Chris Nebel <email@hidden>
    • Re: AETE? How can I read these
      • From: Jean-Marie Hoornaert <email@hidden>
References: 
 >Re: AETE? How can I read these (From: Jeff Horton <email@hidden>)

  • Prev by Date: Re: can i 'store script' as stay open applet?
  • Next by Date: Re: time delay in script
  • Previous by thread: Re: AETE? How can I read these
  • Next by thread: Re: AETE? How can I read these
  • Index(es):
    • Date
    • Thread