[jawsscripts] Re: PS further thoughts on my last, was optimal ScreenStabilizedEvent usage?

  • From: Andrew Hart <ahart@xxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 04 Nov 2012 10:41:23 -0300

Geoff,

You are right, but good programming practice would dictate that you 
chain to ScreenStabilizedEvent in any case.  The advantage of doing this 
is that your scripts could benefit from (or at the very least not break) 
future modifications made by FS to the default scripts.  In other words, 
although running the default event at the end wouldn't actually do 
anything for you now, it would help to future-proof the scripts.

Hth,
Andrew.

On 4/11/2012 4:51 AM, Geoff Chapman wrote:
> Yep Thanks much for this Don.
> I'd understood it wasn't to be called in a script, with a keystroke etc, but
> the reminder to still run the default version at the end was a helpful one.
> Although having said that, may I just confirm for my own clarification
> knowledge,that this would only be necessary, if that particular function was
> reused in the app's actual script file? or any that are "used," at it's top?
>
> Given that this particular ScreenStabilizedEvent function, is empty of code
> in default.jss?
>
> Thanks much.
>
> ----- Original Message -----
> From: "Don Marang" <donald.marang@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Saturday, November 03, 2012 7:16 AM
> Subject: [jawsscripts] Re: PS further thoughts on my last, was optimal
> ScreenStabilizedEvent usage?
>
>
>> This function is a event that JAWS triggers.  You do not have it called
>> within one of your key enabled scripts or functions.  You want to
>> override this function in your scripts file, including defining the
>> necessary parameter.  In this function, perform the actions that you
>> want to happen once the screen updates have slowed down.  You will
>> probably need to check if the window handle passed as a parameter is the
>> handle of interest.  I do not remember the time frame they use  with no
>> additional updates before triggering this event.  Even then, this
>> function may not work reliably for your case.  Like the other event
>> functions, when you override them, you should normally call the same
>> event at the end of the event, so that the normal processing for that
>> event takes place.
>> *Don Marang*
>> Vinux Package Development Coordinator - vinuxproject.org
>> <http://www.vinuxproject.org/>
>>
>>
>> On 11/1/2012 1:51 PM, Geoff Chapman wrote:
>>> Although, thinking about this a little more, I realize that iTunes
>>> already
>>> makes the horrible swoosh noise when, it, thinks, it's finished writing
>>> all
>>> info to the iTunes store window, so perhaps I'm somewhat barking up the
>>> wrong tree in my last.  And rather what I should be asking is, how I
>>> might
>>> jolly well check when Jaws is finished getting confused/sluggish with
>>> it's
>>> refresh whole screen functionality, instead?
>>>
>>> Is there a way of using ScreenStabilizedEvent to query that? when it's
>>> osm
>>> has finished being written to, /messed with?
>>>
>>> Thanks again for any thoughts.
>>>
>>> Geoff c.
>>>
>>> ----- Original Message -----
>>> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Friday, November 02, 2012 4:22 AM
>>> Subject: [jawsscripts] optimal ScreenStabilizedEvent usage?
>>>
>>>
>>>> Mighty Scripters.
>>>> Wondering if any kind soul might feel like offering up a bit of starter
>>>> code for me, that I might be able to utilize to see if the
>>>> ScreenStabilizedEvent, function, might work in this dog-like iTunes
>>>> store,
>>>> in the iTunes application?
>>>>
>>>> It's only parameter is a variable called
>>>> HwndLastScreenWrite,
>>>> and I know the class of the window recieving data when one does a search
>>>> in iTunes store, is
>>>> WC_iTunesWebViewControl,
>>>>
>>>> But, just how might I write code that said something like:
>>>>
>>>>
>>>>
>>>> if you've finished writing data to
>>>>
>>>> WC_iTunesWebViewControl now, then,
>>>>
>>>> SayString ("ready")
>>>>
>>>> EndIf
>>>>
>>>> or something similar?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Of course Any aditional thoughts/comments from anyone as to usefulness,
>>>> or
>>>> otherwise, of screenStabilizedEvent, would also be  much appreciated.
>>>>
>>>>
>>>>
>>>> Thanks much for any thoughts/assistance.
>>>>
>>>>
>>>>
>>>> Geoff c.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> __________�
>>>>
>>>> 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
>>>
>>
>>
>> __________�
>>
>> 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
>
>
>


__________�

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

Other related posts: