Hi

In JAWS 16, FS added code to determine if native JAWS code or events were
being processed normally.  After some specified time, if they are not being
processed, this code assumes that something is in an infinite loop and will
restart JAWS.  I don't know if this code was added in a JAWS script, or in
the JAWS base code itself.  While a JAWS script is running, JAWS native code
is not running.  So in JAWS 16, there is a maximum elapsed time that a JAWS
script can run.  I have a JAWS script that looks for and documents debugging
code I have added to scripts I've created which  can run several minutes.  I
know it's monopolizing   The PC, but I am willing to wait.  I do not know if
there's a way to change the default time a script is allowed to run or not.
So there's no way I can run this script in JAWS 16.  But it will still run
fine in JAWS 15 and earlier.  So if you're authorized for JAWS 16, you can
run your script in JAWS 15 or earlier and then return to JAWS 16.


-----Original Message-----
From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On
Behalf Of East, Robin
Sent: Friday, July 17, 2015 10:07
To: jaws-users-list@jaws-users.com
Subject: [JAWS-Users] Script Issue

Folks can anyone tell me how to disable the JAWS new autoStart event. And,
then how to re-enable it. I may be calling this event by the wrong name but
it is the function that if JAWS crashes  JAWS will automatically re-start.


In the script below JAWS will crash and then re-start in JAWS 16. Using same
script in JAWS 12 it does work.  Please see see script for testing below and
if anyone has any ideas for me please let me know.
I thank you.

Note, I have put this to FS and I am told to go back to basics of Scripting
and that my variables are wrong and I need to use the LET . I am also told
it is an infinite loop thus JAWS crashes.

However, LET was dropped in JAWS 11 and this loop works in JAWS 12 and if
one reduces the numbers you will find it does work in JAWS 16. However, with
the current numbers of which I ned JAWS crashes, I believe, due to the new
autoStart event. Just a guess.

Put script in wordpad and attach a key

var int i,
int loopR,
int loopC,
int year,
int colNum,
int multiplier


                while loopR < 21
 
;IniWriteString(ExtraScreenTitle,inttostring(loopR + multiplier), "Account
#" + inttostring(loopR ) + "|0" + inttostring(loopR +6) +"|26|",
extrafieldpath)
                                delay(2)

                                year = 2015
                                loopC = 1
                                colNum = 39
                                while loopC < 13
 
;IniWriteString(ExtraScreenTitle,inttostring(loopR + loopC + multiplier),
inttostring(year) + " for account #" + inttostring(loopR ) + "|0" +
inttostring(loopR +6) + "|" + inttostring(colNum) + "|", extrafieldpath)
                                                delay(2)
                                                colNum = colNum + 3
                                                loopC = loopC + 1
                                                year  = year  - 1
                                EndWhile

                                saystring(inttostring(loopR) + " completed")
                                loopR = loopR + 1
                                multiplier = multiplier + 12

                EndWhile
                saystring("FULL TEST completed")

robin
For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/


For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/

Reply via email to