[jawsscripts] Re: Changing and Saving / Restoring Cursors

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 04 Dec 2008 12:53:38 -0500

Hi Donald:

What is being said at the end of the ActiveItemChangedEvent is that
there used to be code here that would perform the processing related to
these controls.  Now this processing is being handled by the
SayObjectActiveItem internal function.
Internal means that this functionality is contained within Jfw itself
and that we do not have the source so we cannot see what is being done
there.

I suggest, that you put a SayString above the function call to
SayObjectActiveItem in the default.jss file and then compile it.  If you
hear this string spoken when you press the arrow keys while you are
focussed in the list view of your application, then you will know that
the SayObjectActiveItem is the function that you need to modify in your
application scripts.

If this is the case, then you will need to experiment with some of the
lv functions to see if any of those functions will yield the results you
need.

Make sure that you call the SayObjectActiveItem function for controls
that do not meet conditions in your if statement in this function.

Here is the fsdn entry for SayObjectActiveItem.

Function: SayObjectActiveItem 
Description 
Says the active element in certain controls. For example in a list
view, it will say the selected item. In a menu, it will say the active
menu item. In a dialog box, it will say the selected tab. 

Returns 
Type: Void


Parameters 
Param 1: 
Type: int
Description: As of JAWS 8.0, TRUE if you wish to have JAWS announce
positional information such as n of m items, FALSE otherwise.
Include: Optional


Version 
This function is available in the following releases: 

JAWS 4.51 and later 
Magic 10.5 and later 






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 

>>> "Donald Marang" <donald.marang@xxxxxxxxx> 10:10 am Thursday,
December 04, 2008 >>>
I guess that I should have stated that I have been using JAWS 10 since
I got 
this urge for this project in October.  The FocusChngedEvent was very 
confusing.  I didn't take a lot of time deciphering the function, but I

couldn't figured how it called all these events.  Perhaps the calls
that 
start with "Process..." have this effect?

I did notice that at the end of the default ActiveItemChangedEvent had
the 
following comment:
"; removed code from this spot for special handling of list view items
; in favor of the internal handling using SayObjectActiveItem()"

I don't know what this means and I don't know if this matters?

__________ 
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: