Re: working with records
Re: working with records
- Subject: Re: working with records
- From: Christopher Nebel <email@hidden>
- Date: Wed, 22 Aug 2007 14:16:55 -0700
On Aug 21, 2007, at 4:51 AM, Wayne Melrose wrote:
I have a record with different values..
eg
set rec to {username:"wayne", emailadd:"email@hidden
"}
now I can get ..
set username to username of rec
set emailadd to emailadd of rec
that's fine.. but with many items in the record, what I'd like to do
is extract (or expand) all of the items at the same time.. with
their label coming the variable name.. is this even possible?
result would be..
set username to "wayne"
set emailadd to "email@hidden"
One wonders what the actual problem you're trying to solve is.
Assuming you can perform this operation, what are you going to do with
all of the variables, whose names, by definition, you do not know
ahead of time?
--Chris Nebel
AppleScript Engineering
_______________________________________________
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