• 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: Minor Scriptability Quesiton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor Scriptability Quesiton


  • Subject: Re: Minor Scriptability Quesiton
  • From: Seth Willits <email@hidden>
  • Date: Wed, 15 May 2013 09:19:22 -0700

On May 14, 2013, at 6:19 PM, Shane Stanley wrote:

>> [button accessibilitySetValue:@"My Title" forAttribute:NSAccessibilityTitleAttribute];
>
>> Discovered -accessibilitySetOverrideValue:forAttribute: but that has no effect. The title is still empty.
>
> The docs for the latter say: "Ensure that you invoke this method on the actual object that represents the user interface element. For example, in the case of NSButton, use the underlyingNSButtonCell. The NSButton itself is ignored by accessibility." That suggests it also applies to the former.

Excellent! (Silly me.)

With just that I can make a few things easier through scripting without having to dive into anything else.


Thanks,

--
Seth Willits

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Minor Scriptability Quesiton
      • From: Shane Stanley <email@hidden>
References: 
 >Minor Scriptability Quesiton (From: Seth Willits <email@hidden>)
 >Re: Minor Scriptability Quesiton (From: Seth Willits <email@hidden>)
 >Re: Minor Scriptability Quesiton (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Getting a splash screen to show
  • Next by Date: Re: Getting a splash screen to show
  • Previous by thread: Re: Minor Scriptability Quesiton
  • Next by thread: Re: Minor Scriptability Quesiton
  • Index(es):
    • Date
    • Thread