• 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: What makes AppleScript difficult
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What makes AppleScript difficult


  • Subject: Re: What makes AppleScript difficult
  • From: Skeeve <email@hidden>
  • Date: Mon, 10 Dec 2007 13:28:35 +0100

Luther Fuller wrote:
Yes! Yes! Yes!
Ja! Ja! Ja! (the same in german)

And while it's on my mind ...
We should be able to reference items of a record by index.
No! No! No!

As I understand it, records fields are not fixed in sequence, so the index might change each time you access a record.

Then we could write useful code like ...
    name of item 3 of dataRecord
and
    value of item 3 of dataRecord
(You can already do this with plist files.)
Better  would be:
repeat with an_entry in dataRecord
 display dialog name of an_entry
 display dialog value of an_entry
end repeat

Even better would be:
set the_name to "the name"
set an_entry to entry of dataRecord whose name is the_name


_______________________________________________ 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: What makes AppleScript difficult
      • From: Luther Fuller <email@hidden>
References: 
 >Re: What makes AppleScript difficult (From: Brennan <email@hidden>)
 >Re: What makes AppleScript difficult (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: What makes AppleScript difficult
  • Next by Date: Re: What makes AppleScript difficult
  • Previous by thread: Re: What makes AppleScript difficult
  • Next by thread: Re: What makes AppleScript difficult
  • Index(es):
    • Date
    • Thread