Re: Address Book
Re: Address Book
- Subject: Re: Address Book
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 30 Jan 2006 10:58:33 -0500
Hi Rob - I don't know if there is a 100% reliable way. The closest
thing might be the "selection" property of the application, which
returns the selected entries. There may be more than one, however,
and I'm not sure there's a guaranteed way of deciding which is being
displayed.
This seems to work "pretty well" though:
tell application "Address Book"
set visiblePerson to item 1 of (selection as list)
end tell
It seems that AddressBook always shows the "top-most" selected
person, and also always returns that person first in the selection list.
Daniel
On Jan 30, 2006, at 12:36 AM, Rob Lewis wrote:
In Address Book, how does one reference the currently displayed
person's record?_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40red-sweater.com
This email sent to email@hidden
_______________________________________________
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