Re: Properties within Properties - Scripting Address book
Re: Properties within Properties - Scripting Address book
- Subject: Re: Properties within Properties - Scripting Address book
- From: Barry Wainwright <email@hidden>
- Date: Wed, 14 Sep 2005 08:07:40 +0100
- Thread-topic: Properties within Properties - Scripting Address book
Title: Re: Properties within Properties - Scripting Address book
On 14/9/05 02:47, "chet kelley" <email@hidden> wrote:
make new person with properties {organization: "drama", address:{city: "Miami", state:"Fl"}}
which applescript compiled without complaints, but didn't work (only the organization was entered into the new person record.
If you look in the dictionary you will see that Address is not a ‘property’ of Person, but an ‘Element’.
I haven’t checked this, but I suspect that after making a ‘new person’, with whatever properties the person needs, you will then have to ‘make new address at end of new person with properties {city: xxx, state: yyy}’ (the ‘at end of’ may not be necessary – some apps need it some don’t).
--
Barry
_______________________________________________
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