• 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: Is this a major bug or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a major bug or not?


  • Subject: Re: Is this a major bug or not?
  • From: Philip Aker <email@hidden>
  • Date: Mon, 1 Jun 2009 02:17:42 -0700

On 2009-05-31, at 18:41:06, Deivy Petrescu wrote:

However, and this is the problem that really brought this whole imbroglio is that if one writes

tell app "MyApp" to tell its first element to set p to its properties

"p" should be a record accessible anywhere in the script. And it is not.

Does that bother anyone else?

Even if there was:

outer class of p
--> record

I think it would not be logically correct. Michelle's previous remark about 'items 2 thru (the end) of list' showed up the 'the' anomaly. I believe Deivy's illustration above shows up that records should never have been addressable in the forms AppleScript uses. Instead, they should be key/value pairs which, just to add insult to injury, is how they are actually used in AppleEvents. Every anomaly that creeps in winds up to be a problem for both users and implementors.


Shane Stanley wrote:

It's annoying, and it would be nice to see a better solution -- but calling it a bug is not really going to help, I suspect.

Alas, this statement has a ring of truth to it. After 17+ years, and a lot of scripts relying on the current behavior, there's not much chance of a fix. However, if there was a new container such as 'dictionary' which offered the same facilities but with an unambiguous syntax, I'd see it as a good move.



Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Is this a major bug or not?
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Combine multiple PDFs
  • Next by Date: InDesign - CS2 and CS3 duplicate method is different?
  • Previous by thread: Re: Combine Multiple PDFs
  • Next by thread: Re: Is this a major bug or not?
  • Index(es):
    • Date
    • Thread