• 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: SystemStatusBar question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemStatusBar question


  • Subject: Re: SystemStatusBar question
  • From: daniel <email@hidden>
  • Date: Tue, 8 Mar 2005 20:37:12 -0800


On Mar 8, 2005, at 11:33 AM, Bill Cheeseman wrote:

on 2005-03-08 12:10 PM, Finlay Dobbie at email@hidden wrote:

On Tue, 8 Mar 2005 08:09:12 -0800, Vince Ackerman <email@hidden> wrote:
Is there anyway to get the StatusBarItem for the iChat Status Menu? If
you could, then you could check to see if the MenuItems change and get
the new item (ie available buddies ) that way....

No, there isn't, and that sounds like a horrendous ugly hack of a way anyway.

So I beg to differ when you say that his approach is a "horrendous ugly
hack". I wrote PreFab UI Actions to allow techniques like this to work, and
they do work in most applications.


It's a big ugly hack for many reasons independent of using UI access to get at the values:

1. Using another app's view on a model as your model is icky.
2. Some iChat users (like myself) have turned off this particular view, so *poof* there goes your solution.


And for one reason dependent on the notion of using UI access:

1. Depending on or requiring your users to turn on a feature (access for assistive devices) that is off by default, when there is another more reliable feature (AppleScript) that is on by default, just seems like a poor decision that is sure to cause confusion and distress.

I think UI access is cool, but in this case even if it was possible to do what's being suggested, it would be a "horrendous ugly hack of a way" of doing it. Using AppleScript is merely an "uglyish hack of a way" of doing it.

Daniel

_______________________________________________
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


  • Follow-Ups:
    • Re: SystemStatusBar question
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: SystemStatusBar question (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Enabling certain menus while in modal dialog
  • Next by Date: Re: NSEnumerator retaining objects?
  • Previous by thread: Re: SystemStatusBar question
  • Next by thread: Re: SystemStatusBar question
  • Index(es):
    • Date
    • Thread