Re: TextEdit giving weird kAXTitleAttribute for Windows
Re: TextEdit giving weird kAXTitleAttribute for Windows
- Subject: Re: TextEdit giving weird kAXTitleAttribute for Windows
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 11 Mar 2003 07:26:00 -0500
on 03-03-11 7:06 AM, Matt Gough at email@hidden wrote:
>
> on 03-03-10 9:13 AM, Matt Gough at email@hidden wrote:
>
>
>
>> Does anyone know why kAXTitleAttribute for a file open in TextEdit is of the
>
>> form:
>
>>
>
>> 'name - POSIX Path to parent directory'
>
>
>
> I reported this a few months ago and was told Apple is aware of it and, as I
>
> recall, will fix it. It isn't just TextEdit, but some or all Cocoa
>
> applications.
>
>
>
Have you tried to workaround it by scanning for the em-dash or not. If you
>
did, were there any unforeseen problems?
Do you mean in a script? I haven't tried this myself, but it seems like it
ought to work. The same sort of file name parsing is done all the time in
AppleScript.
If you mean in my UI Browser code, no, I haven't tried that, either. I have
assumed that this issue will be fixed in a future release of the
Accessibility API, and that System Events (GUI Scripting) will pick that up
automatically, so I didn't want to spend the time working around this
myself. I can do it perfectly easily, of course, if this issue isn't going
to be resolved in the Accessibility API.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.