On 15/05/2013, at 9:55 AM, Seth Willits <sli...@araelium.com> 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.

-- 
Shane Stanley <sstan...@myriad-com.com.au>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to