[jawsscripts] Re: Braille How can I shorten the text in window titles?

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 14 May 2010 13:49:10 -0400

Hi David,
I'm assuming, without knowing how your application works, that the whole string 
you want is in the title of the window. According to my memory, 
GetRealWindowName would get you the whole string. Is there anything in the 
string that you can rely on to tell you when the French starts? If so, you 
might be able to use one of the functions that find things in strings or string 
segment functions to extract one part of the string. After you have the right 
string, what did you want to do with it in Braille?
Thanks.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of David Farough
Sent: Friday, May 14, 2010 9:42 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: braille How can I shorten the text in window titles?

Thanks for your help.  I'll look at that and let you know if that solves
the problem.

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779

>>> "Travis Roth" <travis@xxxxxxxxxxxxxx> 05:10 pm Thursday, May 13,
2010 >>>
Its possible that BrailleAddObjectDlgText() is also being called and
picking up more of the static text of the window...

After that I'd override the other BrailleAddObject* functions such as
BrailleAddObjectName() handling the dialog window type until the culprit
is found.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of David Farough
Sent: Thursday, May 13, 2010 3:43 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] braille How can I shorten the text in window
titles?

I am scripting an application which often displays both English and
french text in the title text of the application realwindow titles.

I want to remove the French text from the end of these strings so that
it will not take up so much space on the braille display.

I cannot figure out which of the braille functions that I will have to
change to get this working.

I have tried modifying the BrailleAddObjectDlgPageName and this will
display the shortened text string, but the longer string also appears
on
the display as well.  Can anyone help?

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779
__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: