TextEdit giving weird kAXTitleAttribute for Windows
TextEdit giving weird kAXTitleAttribute for Windows
- Subject: TextEdit giving weird kAXTitleAttribute for Windows
- From: Matt Gough <email@hidden>
- Date: Mon, 10 Mar 2003 14:13:19 +0000
Does anyone know why kAXTitleAttribute for a file open in TextEdit is of the
form:
'name - POSIX Path to parent directory'
(where the '-' is actually an em-dash character (char code \u2014))
E.g.
A file on my desktop called 'Hello' ends up with a kAXTitleAttribute of:
Hello - /Users/matt/Desktop
This makes providing the user with a list of TextEdit windows to choose from
non-standard since they don't match what is in the Title bar. Am I missing
something stupid, or is TextEdit being stupid?
I could try looking for the em-dash and ignoring everything from it onwards,
but that could also have problems.
Before I file a bug against TextEdit, can anyone give a reason for this
behaviour?
Matt Gough
_______________________________________________
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.