Re: Setting properties in Address Book
Re: Setting properties in Address Book
- Subject: Re: Setting properties in Address Book
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 10 Feb 2008 19:26:45 -0800
- Thread-topic: Setting properties in Address Book
Title: Re: Setting properties in Address Book
On 2/10/08 4:20 PM, "Robert R. Horning" <email@hidden> wrote:
tell application "Address Book"
set foo to person "Michelle steiner"
Unless I include the entire name exactly as it already exists in the Address Book, including any title, middle name, etc., the Script Editor returns:
"Address Book got an error: NSReceiverEvaluationScriptError: 4"
and 'person "Michelle steiner"' is highlighted.
tell application "Address Book"
set foo to first person whose last name is "Steiner" and first name is "Michelle"
--get id of foo -- if you really need it
end tell
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden