Re: Showing a person in Address Book
Re: Showing a person in Address Book
- Subject: Re: Showing a person in Address Book
- From: Gideon King <email@hidden>
- Date: Thu, 29 Jul 2010 14:50:31 +1000
Excellent, works brilliantly, thanks. Gideon, try this: set myId to "3ED8E6A0-5AF3-4BE5-8713-C4D82C9A7174:ABPerson" tell application "Address Book" set selection to my card set thePerson to first person whose id is myId set selection to thePerson end tell tell application "Address Book" to activate
'my card' is a property of the application, and selecting it, makes "All Contacts" the active group. It does flash the wrong card for a second, so you may want to move the activate command to the end of the script.
|
_______________________________________________
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