[jawsscripts] Re: Manually resetting a scripts global variables

You could include a script in  your script set that sets the variable to
false when you call it, such as by pressing a keystroke.

Let globalVariable =3D false



-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Mike O'Brien
Sent: Monday, July 14, 2008 10:02 AM
To: JawsScript
Subject: [jawsscripts] Manually resetting a scripts global variables

I have a script that uses a global variable to ensure that a section of =
code
is only executed the first time the script is called.  Once the section =
of
code has been executed, the global variable is set to true.  For =
testing, is
there any way to manually reset the global variable to false without
stopping and restarting JAWS?  Neither compiling the script nor =
restarting
the application resets the global variable.  Also JAWSKEY+Control+escape
says it reinitializes the Default scripts, and does not reset the global
variable for my script.

Thanks.


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


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

Other related posts: