• 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: Properties within Properties - Scripting Address book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Properties within Properties - Scripting Address book (From: chet kelley <email@hidden>)

  • Prev by Date: Converting Mac Roman and/or UTF 16 to UTF 8?
  • Next by Date: [BUG] saving as run-only
  • Previous by thread: Re: Properties within Properties - Scripting Address book
  • Next by thread: Re: Properties within Properties - Scripting Address book
  • Index(es):
    • Date
    • Thread