• 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: open the AddressBook and have a group selected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: open the AddressBook and have a group selected (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: NSImageView PICTRepresentation?
  • Next by Date: Assertion in AppKit
  • Previous by thread: Re: open the AddressBook and have a group selected
  • Next by thread: Assertion in AppKit
  • Index(es):
    • Date
    • Thread