SaveCursor() before a cursor switch just saves which cursor was active at the time. You usually want to save the position of the cursor you then activate though, which is why I advocate things like saveCursor() invisibleCursor() saveCursor(). And yes, cursors are restored on return too. They restore whenever the function or script exits, no matter how it happened, as far as I know. On Fri, Dec 05, 2008 at 05:18:40PM -0500, David Farough wrote: 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 -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller __________ 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