Re: What makes AppleScript difficult
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