Re: Minor Scriptability Quesiton
Re: Minor Scriptability Quesiton
- Subject: Re: Minor Scriptability Quesiton
- From: Shane Stanley <email@hidden>
- Date: Wed, 15 May 2013 11:19:49 +1000
On 15/05/2013, at 9:55 AM, Seth Willits <email@hidden> 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 <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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