Re: Trapping aete's
Re: Trapping aete's
- Subject: Re: Trapping aete's
- From: Ian Mantripp <email@hidden>
- Date: Sun, 15 Apr 2001 12:55:06 +0200
>
> I don't know if I am going to make sense. It's late and I have been at it
>
> for several hours now. I know that sometimes I see script that has the
>
> double angled brackets around some cryptic info and I know that that means
>
> it's a command that is used in some scripting addition I don't have (or
>
> isn't loaded). And I believe that I realise that they are what everyone
>
> refers to as aete resources. If some command of a program isn't scriptable,
>
> is there some way to mimic it using aete resources? could I just use some
>
> third party program to see what the double angled crypto-stuff would be for
>
> that program and then just pass that raw aete in my script? Is there
>
> something that can watch all those aete resources flying by?
>
>
>
> By way of example, if I wanted to use Outlook Express to send an email and
>
> let's say that command weren't available, could I fire up an "aete watcher",
>
> send an email and see what the <<>>-type aete would be? And then can I just
>
> paste that into my script and it work?
It seems to me that you are getting the picture wrong here. An applications
aete resource is it's applescript dictionary definition. If an application
hasn't got an aete resource, then you just can't send it any applescript
commands or of course any apple events. Applescript is just an easier way of
writing apple events.
For an application to be scriptable, it must have an aete resource (which is
what you open when you open an applications dictionary) and must it be able
to handle incoming apple events.
BTW if you want to capture apple events you can use a free utility called
CaptureAE by WestCode Software, Inc.
Ian