Hi Dean: one problem I see in the TopOfText function is that following the while loop, you have a return statement which is performed if the iKeyWasPressed variable is true. You should remove this condition because this is why your scheme variables are not being set following the termination of the while loop. Your loop should terminate when the two line variables are the same. then you perform actions based on the value of iKeyWasPressed It would be helpful to see how you coded the rest of the functions. Particularly the ReadContinuously script and the PositionForNextRead functions. >>> "Dean Masters" <dwmasters@xxxxxxxxxxxxx> 04:36 pm Wednesday, April 22, 2009 >>> here is the function I have been getting help on. The scheduled function still goes on even when I have hit a key to stop the reading. I don't know why something doesn't trigger when a key is pressed to stop the scheduled function. Also the scheme is not switched from the default after going to the next screen. I have tried moving the lines of code below the keystroke to move to the next screen and also to the function that is scheduled. None of these effect the scheme and reading of the reference which is supposed to be turned off. 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