• 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: Inheritance and Loaded Libraries (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Inheritance and Loaded Libraries (solved) (From: has <email@hidden>)

  • Prev by Date: Re: Inheritance and Loaded Libraries (solved)
  • Next by Date: Re: Best practices- nested loops or handlers or both
  • Previous by thread: Re: Inheritance and Loaded Libraries (solved)
  • Next by thread: Re: Inheritance and Loaded Libraries (solved)
  • Index(es):
    • Date
    • Thread