Steve,
You don't have control over when events are generated as a rule. The Windows
DestroyedEvent is generated by the application and Jaws is just receiving it
and deciding what it can/should do about it.
Best wishes.
Tim Burgess
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Spamer
Sent: 10 December 2017 12:13
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Slight differences after reload?
Hi. I’m trying to refine and optimize some scripts and just wondering if
there are specific areas where I should concentrate?
I am very happy with how things are going so far, but I’ve noticed one thing
that is intriguing me.
In one particular window I’m getting a few MS delay before a control is
spoken. This is negligible, but if I unload Jaws and reload, the performance
is instantanious, but it doesn’t last if I exit and reenter.
Now, I’ve run the trace code once sent by Bob, and even those there maybe
nothing in it, there is one extra entry in the slightly slower running
functions list.
It’s an extra WindowDestroyedEvent sandwiched between 2 key pressed events at
the bottom.
I don’t have this function in the code and I can’t see why this would
affect things, the list of both scenarios is belowe.
When the window is opened and scripts are loaded.
keypressedevent
keymapchangedevent
shouldinvalidateocrdataonfocuschange
focuschangedeventex
tutormessageevent
windowdestroyedevent
keyboardlanguagechangedevent
keypressedevent
windowdestroyedevent
keypressedevent
keymapchangedevent
When reloading and getting instantanious performance:
keypressedevent
keymapchangedevent
shouldinvalidateocrdataonfocuschange
focuschangedeventex
tutormessageevent
windowdestroyedevent
keyboardlanguagechangedevent
keypressedevent
keypressedevent
keymapchangedevent
Anyway, there must be something going on to show this behaviour, so if anyone
has any ideas/tips, they would be greatfully accepted. best steve.
Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording with
Samplitude in Windows: www.samplitudeaccess.org.uk __________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
__________�
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts