Re: Address Book scripting
Re: Address Book scripting
- Subject: Re: Address Book scripting
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 13 Sep 2004 07:43:38 -0700
Title: Re: Address Book scripting
On 9/13/04 7:20 AM, "John" <email@hidden> wrote:
If I run this script...
set pid to id of person lookupName
I get this result...
"3E64ECD7-0458-11D9-AF02-000A9590350C:ABPerson"
so it looks to me that I'm getting the ID.
But when I try this statement, it opens Address Book, but not to the selected record.
set pid to id of person lookupName
open location "addressbook://" & pid
It should, assuming that the card with that ID still exists. Does it? If it no longer exists it can't be selected. Also try with the 'open location ...' line outside the Address Book tell block. It works here.
--
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:
This email sent to email@hidden