[jawsscripts] Re: Events

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 24 Feb 2010 09:14:50 -0900

you just create the function, there is no more to it:

void Function BottomEdgeEvent ()
; Code here
EndFunction

JAWS scripting works by first checking the script file that gets
loaded for the current program, it then falls back to the default
script if no match is found.  You can do the same thing with built-in
keyboard triggered scripts, not just functions:

Script SayNextLine ()

EndScript

This scheme explains why jaws scripting does not support recursive
function calls.  The only time you need to hook anything is when you
are creating a completely new script with its own key binding.

On 2/24/10, Tony <tonys_groups@xxxxxxxxxxxxxx> wrote:
> Hi All
>
> Having taught myself the basics of scripting, and looked through the FSDN,
> what is still unclear to me is how one connects code to an event.
>
> By way of example, the event which fires if the cursor attempts to move
> beyond the bottom edge of a window, the Bottom Edge event.
>
> How would I link code to that event please?
>
> Thanks for any clues.
>
> T
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: