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

Properties within Properties - Scripting Address book


  • Subject: Properties within Properties - Scripting Address book
  • From: chet kelley <email@hidden>
  • Date: Tue, 13 Sep 2005 21:47:57 -0400

I was trying to write an Applescript for my wife that would help her enter a long list of people into address book.  The problem I was having was that the properties "street", "city", "state" and "zip" are contained within "address" so the statement,

        make new person with properties {organization: "drama", city: "Miami", state:"Fl"}

doesn't work because city and state aren't properties of the person class.  So I tried

 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.

I tried taking the long route and trying

make new person with properties {organization: "drama"}
set city of new person to "Miami"
set state of new person to "Fl"

but that didn't input the info either.

Any ideas?
 _______________________________________________
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

  • Follow-Ups:
    • Re: Properties within Properties - Scripting Address book
      • From: Barry Wainwright <email@hidden>
    • Re: Properties within Properties - Scripting Address book
      • From: Paul Berkowitz <email@hidden>
    • Re: Properties within Properties - Scripting Address book
      • From: Michelle Steiner <email@hidden>
    • Re: Properties within Properties - Scripting Address book
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: FileMaker Pro 7-8: Getting Files into Containers
  • Next by Date: Re: Conflict of interests btw System Events and Standard Additions
  • Previous by thread: [OT] Is September 13th in the US like April 1st in Europe?
  • Next by thread: Re: Properties within Properties - Scripting Address book
  • Index(es):
    • Date
    • Thread