Re: Minor Scriptability Quesiton
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