[jawsscripts]

  • From: aaron lane <ajbd777@xxxxxxxxx>
  • To: jawsscripts <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 2 Jan 2020 09:44:26 -0600

I have JAWS17 & Windows10.
In a certain section of a Football simulator, there are about 80 Edit
Combo fields, and I would like to divide them into 3 categories,
creating a context menu for each group. To start, I'm trying to create
a script for each field, that just simply sets focus to that
particular field. Below are the scripts for the first two. You'll
notice that in each FindWindow function, I have the specific handle
number and the window name for the field. When I test them, both
scripts take me to, and focus me to the Returners field. Even though
one of them has a different handle number and window name. The script
file compiles with no errors, and one key combo does exactly what it
should, the odd problem is that the other script does the exact same
thing.

Script BlockKickFrequency () ;Control+Shift&X. Goes to Returners for some reason
var handle a,
handle G
let G=GetFocus()
let G=GetRealWindow(G)
let G=FindWindow (G, "", "Computer Game Plan")
SetFocus(G)
JawsCursor()
let a= GetFocus()
let a=GetRealWindow(a)
let a=FindWindow (12583734, "", "Returners")
SetFocus(a)
RoutePcToJAWS ()
PCCursor()
EndScript

Script RealBlockKickField () ; Control+Shift&V
var handle B,
handle G
let G=GetFocus()
let G=GetRealWindow(G)
let G=FindWindow (G, "", "Computer Game Plan")
SetFocus(G)
JawsCursor()
let B= GetFocus()
let B=GetRealWindow(B)
let B=FindWindow (12583734, "", "Block Punts")
SetFocus(B)
RoutePcToJAWS ()
PCCursor()
EndScript
__________�

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

Other related posts: