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

  • From: <rodalcidonis@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 14 Feb 2018 00:59:33 -0500

Thanks, Jim for the guidance.

I was planning to create a function that says if this window is active, then 
move to that window, etc. until I run through all of them. I could not yet 
think of the mechanics for getting there. I will try the strings suggestion 
as I am trying to keep it simple.

Appreciate it.


-----Original Message----- 
From: Snowman
Sent: Tuesday, February 13, 2018 8:12 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Basic tips for creating a tab / Shift-tab 
structure?

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

__________�

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

Other related posts: