[jawsscripts] Re: Basic tips for creating a tab / Shift-tab structure?

  • From: "Snowman" <snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 13 Feb 2018 19:12:26 -0600

If you don't want to do this with scripting,  HotSpotClicker has a nice 
means of letting you decide the tab order.  It refers to them as 
"SpotRings".

But, if you prefer the more stable, scripting method, it' is a matter of 
writing a handler for the tab key that basically asks the question,  where 
am I focused now, which will also imply, where should I focus next.
There are probably lots of ways of doing that.  And which is most convenient 
might come from how it is that you know where you are currently focused.  Is 
it a fixed window name?
If so, you could use the name to look up a string which contains the name of 
the function to run for setting focus.
One way would be to populate a collection, where the collection key is the 
name of the window that has focus, and the value you get from that key is 
the string containing the name of the function to run for that condition. 
You would need to build the collection when jaws first sees the program, and 
then use it there after.
But, you can also do this with simple strings, or a bunch of, if, elif 
statements.
It just depends on what is most convenient.






+--------------------------------------------------------------------------+
Listen to The Snowman on MushroomFM.com, Saturday evenings, 8PM Eastern 
time.
60's and 70's tunes, and gently conservative talk.

----- Original Message ----- 
From: <rodalcidonis@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, February 13, 2018 5:11 PM
Subject: [jawsscripts] Basic tips for creating a tab / Shift-tab structure?


hey Guys:

I have identified 10 windows at random that I want to place in a structured
tab and shift-tab order. I have a function for each window that identifies
and sets focus to the particular window. Any tips on how to get that done
please? I want to stay away from DLG select items in list as I do not yet
fully understand how to implement that code yet.

My goal is to be able to tab around and do what the control permits -- if it
is a button, be able to press it with the enter key, and if it is a text
box, be able to type in it, etc..

Assume that I have named my ten functions as Function 1(), Function 2(),
function 3(), etc..

Thanks for all assistance.



Rod



__________�

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: