Re: Properties within Properties - Scripting Address book
Re: Properties within Properties - Scripting Address book
- Subject: Re: Properties within Properties - Scripting Address book
- From: Christopher Nebel <email@hidden>
- Date: Wed, 14 Sep 2005 14:25:22 -0700
On Sep 13, 2005, at 11:50 PM, Paul Berkowitz wrote:
Oops. Having said that you need to do it at beginning or end, I
left that out. Here's the correct version:
tell application "Address Book"
set p to make new person with properties {organization:"drama",
company:true} -- no name, so let the organization behave as name
tell p to make new address at beginning of addresses with
properties {label:"work", city:"Miami", state:"FL"}
save addressbook
end tell
At least in Tiger, you don't need the "at beginning of addresses" any
more. It won't harm anything if you leave it in, though.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
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