• 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
Re: Address Book scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Address Book scripting
      • From: Martin Orpen <email@hidden>
  • Prev by Date: Re: Chevrons test
  • Next by Date: Re: Address Book scripting
  • Previous by thread: Re: Address Book scripting
  • Next by thread: Re: Address Book scripting
  • Index(es):
    • Date
    • Thread