Re: Inheritance and Loaded Libraries (solved)
Re: Inheritance and Loaded Libraries (solved)
- Subject: Re: Inheritance and Loaded Libraries (solved)
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 03 Nov 2004 11:21:00 -0800
On 11/3/04 10:05 AM, "has" <email@hidden> wrote:
> OK, now for the bad:
>
> Q1. Why does the following fail:
>
> c() of b of a of application "ScriptServer"
>
> This is easy to answer now I'm holding the AE debugger the right way
> up.:p AppleScript is forgetting to specify the target object (b of a)
> when constructing the outgoing Apple event, so is effectively telling
> the applet to do:
>
> c() of application "ScriptServer"
>
> Given the lack of documentation in this area, it's hard to say if
> this is a bug, a half-finished abandoned feature or a hole in the
> language spec. Feel free to file a bug report and see if anything
> comes of it; I guess that's one practical way to find out. :)
What happens with
c() of (get b of (get a of application "ScriptServer"))
?
And
c() of (get b of a of application "ScriptServer")
?
As you know, and as Axel has already pointed out, we often need the explicit
'get' to make compound 'of' statements work. Does it work here?
Thanks for delving into the inner workings. Have you also seen Scott
Babcock's message?
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden