Re: open the AddressBook and have a group selected
Re: open the AddressBook and have a group selected
- Subject: Re: open the AddressBook and have a group selected
- From: Frank Midgley <email@hidden>
- Date: Fri, 8 Oct 2004 17:50:51 -0500
On Oct 8, 2004, at 5:26PM, Sean McBride wrote:
zalo Castro (email@hidden) on Mon, Sep 27, 2004 16:35 said:
How can I get a group selected or in edit mode?
You can't.
Actually you can:
tell application "System Events"
tell application process "Address Book"
select row 3 of table 1 of scroll area 1 of splitter group 1 of window 1
end tell
end tell
This requires the user to have enabled the "Enable access for assistive devices" system setting and you would need to sanity check the view mode and the number of rows before hand, but it's possible.
Sean McBride <email@hidden>, zalo Castro<email@hidden>
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden