[jawsscripts] Re: How to make TFDCheckListBox readable by JAWS?

Here are a couple of things you can try. 

If the SayChunk function provides you the information that you need,
You could probably use the GetChunk function to load that information
into a string Variable.  This is supposed to return text and graphic
labels.  Don't forget when using the StringContains function, that this
function is case sensitive.  so be sure that you know exactly how the
text of the graphic that you are looking for appears.

Have you reclassified this control as a listView, ListBox or
MultiSelect Listbox?

If Yes,  You may be able to get this to work if you create a
SayObjectActiveItem function in your scripts.

If you look in the default scripts in the ActiveItemChangedEvent You
will see that this function calls the SayObjectActiveItem function for
handling of listviews etc.  I should also mention that I noticed this in
the version 10 default scripts.

If this approach works for you, you should not need to put this code in
the SayNextLine SayPriorLine etc. because this code will run each time
you move to a different item in the list.

be sure to put a call to this function at the end of your function  so
that all the other controls will work properly.

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 

>>> Jitendra <jeet.invincible@xxxxxxxxx> 12:04 am Monday, September 22,
2008 >>>

Hello and thank you david sir, I tried the if string contains functions
on
the getline, did nothing.
but now including jacky and all wanting the solution to this problem:
following code works!
;code
var
    handle hwnd,
    int theTypeCode,
    string winclass
let hwnd = getFocus()
let TheTypeCode = getWindowTypeCode(hwnd)
let WinClass = getWindowClass(hwnd)
if WinClass == "TFDCheckListBox" then
    sayChunk()
    sayMessage(OT_Position, positionInGroup())
    return True
endIf
return False
EndFunction
Now, I am willing to know, as I tried it with a test debug script,
and it was working as expected.
how should I write the code, if I want jaws to say the checked and
unchecked
status of the items when we move by arrow keys, tab, shift+Tab,
insert+Tab,
page up down, home, end, home and end keys with CTRL and the spaceBar
key,
and if left any other?
Another question:
in a list view, something is written in bold, and that is to be called
by
jaws: "Breakpoint", and that is simple, should be called: "Plain", how
shouldwe do this,
what functions I need to write, and how many other scripts I need to
modify
if want accessibility  with keys above in previous code script?
HTH, Thank you.
David Farough wrote: You could try focusing on the listbox and see if
the
GetLine function will return the corner or Checkmark text strings. If
yes,
then you can make Jaws speak the Checkmark when checkmark is found.
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[1] 
Tel./ Tél: (613) 992-2779 Jitendra <jeet.invincible@xxxxxxxxx>[2] 11:57
pm
Saturday, September 20, 2008 >>>Wow, no graphics as such, but when
unchecked,A graphic "called Corner" is detected by jaws cursor,
andwhen
checked, another graphic: "Checkmark" found! now what? You wrote: Well,
who
knows, Jitendra. There's a couple things to try: a) reclass as a
multiselect
listbox; b) Turn on graphics &see if there's a graphic that changes
whether
an object is checked/unchecked. Havin said that,I have a program that
does
the same thing &I've never been able to fix it. So there aren't any
guarantees. Good luck. On 9/20/08, Jitendra
<jeet.invincible@xxxxxxxxx>[3][1]wrote: Hello friends, there is a class
name
below, TFDCheckListBox it contains Items, that are checkable, but
problem
is:JAWS doesn't anounce the state checked or unchecked of any item
found in
it, MSAA returns nothing perhaps, as when I press f9 key after setting
the
output mode to tell state of the item, in homerow mode, it says:
"selected",
in both states of the item, HTH, help me please. Thank you, Jitendra.
__________ Visit and contribute to The JAWS Script Repository
http://jawsscripts.com[4][2] View the list's information and change
your
settings at http://www.freelists.org/list/jawsscripts[5][3] --- Links
--- 1
mailto:jeet.invincible@xxxxxxxxx[6] 2 http://jawsscripts.com[7] 3
http://www.freelists.org/list/jawsscripts[8] __________ Visit and
contribute
to The JAWS Script Repository http://jawsscripts.com[9] View the
list's
information and change your settings at
http://www.freelists.org/list/jawsscripts[10] 100 Years Merits a
Celebration!http://www.psc-cfp.gc.ca/100/index-eng.htm[11] 100 ans, ça
mériteune célébration! http://www.psc-cfp.gc.ca/100/index-fra.htm[12] 
__________  Visit and contribute to The JAWS Script Repository
http://jawsscripts.com[13] View the list's information and change your
settings at http://www.freelists.org/list/jawsscripts[14] 


--- Links ---
   1 mailto:David.Farough@xxxxxxxxxxxxx 
   2 mailto:jeet.invincible@xxxxxxxxx 
   3 mailto:jeet.invincible@xxxxxxxxx 
   4 http://jawsscripts.com 
   5 http://www.freelists.org/list/jawsscripts 
   6 mailto:jeet.invincible@xxxxxxxxx 
   7 http://jawsscripts.com 
   8 http://www.freelists.org/list/jawsscripts 
   9 http://jawsscripts.com 
  10 http://www.freelists.org/list/jawsscripts 
  11 http://www.psc-cfp.gc.ca/100/index-eng.htm 
  12 http://www.psc-cfp.gc.ca/100/index-fra.htm 
  13 http://jawsscripts.com 
  14 http://www.freelists.org/list/jawsscripts 
__________ 
Visit and contribute to The JAWS Script Repository
http://jawsscripts.com 

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


100 Years Merits a Celebration!  
http://www.psc-cfp.gc.ca/100/index-eng.htm 
100 ans, ça mérite une célébration!    
http://www.psc-cfp.gc.ca/100/index-fra.htm 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: