Re: Address Book: add element to existing record
Re: Address Book: add element to existing record
- Subject: Re: Address Book: add element to existing record
- From: Michelle Steiner <email@hidden>
- Date: Thu, 23 Oct 2003 09:41:47 -0700
On Thursday, October 23, 2003, at 08:52 AM, Matthew Galaher wrote:
Where I'm having problems is I don't understand how to add an element
to a person that exists. I can get the id, but I seems to be missing
something. TIA
This works for me:
tell application "Address Book"
set michelle to first item of (people whose first name is "Michelle"
and last name is "steiner")
tell michelle
make new email at end of emails with properties {label:"New home",
value:"email@hidden"}
end tell
save addressbook
end tell
--Michelle
--
"The past is like a foreign country. They do things differently
there." --Leslie Poles Hartley
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.