[jawsscripts] SaveCursor and RestoreCursor question

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 05 Dec 2008 17:18:40 -0500

First of all I have been looking through my message archives for
interesting content to put on the Wiki.  If you want to take a look you
can find it at http://wiki.jawsscripts.com/wiki/Main_Page.  I have put a
couple of entries in the Jaws Scripting category and one or two in the
debugging subcategory as well.

Most of this content was written by Doug Lee, so I'm sure it will be
helpful.

I have noticed in the ActiveItemChangedEvent  in the default scripts,
that some care is taken to Restore Cursors before a return statement.  
Doug has mentioned in the past that Jaws will implicitly restore any
saved cursors when a function has ended.  I am wondering if this also
occurs prior to a return statement.  Also, I have noticed here that a
Save cursor is performed even though there has not been a switch of
cursors.  I haven't checked all of the code of course to see if other
functions have modified the pc cursor focus, but this is not something
that I would expect.  Can anyone explain the rational being used here?

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