[jawsscripts] Re: [jawsscripts]

  • From: aaron lane <ajbd777@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 2 Jan 2020 11:27:20 -0600

I noticed that I used the same handle number, after I posted. When I
corrected it, the same problem persists. The game is called Action PC
Football, but they don't offer a free trial download. Thanks.

On 1/2/20, Shan Noyes <shan.noyes@xxxxxxxxxxx> wrote:

Hi:
Just looked at your code.  I've written a few jaws script but haven't
tackled anything yet with windows handles etc.  but from  reading your code
I'm under the impression that your are looking at the same window handle
12583734 for both scripts.  So shouldn't they do exactly the same thing?

Is this football game one on the internet so I can take a look at it and
maybe help you out.

Thanks have a good day.



-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On
Behalf Of aaron lane
Sent: Thursday, January 2, 2020 9:50 AM
To: jawsscripts <jawsscripts@xxxxxxxxxxxxx>
Subject: [jawsscripts] Re: [jawsscripts]

-------------------------------------------------------------
WARNING, this email originated from outside of SaskTel.
Do not click links or open attachments unless you trust the sender and
believe the contents are safe.
--------------------------------------------------------------

I apologize for sending without a subject, it was an accident.

On 1/2/20, aaron lane <ajbd777@xxxxxxxxx> wrote:
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 (5378652, "", "Block Punts")
SetFocus(B)
RoutePcToJAWS ()
PCCursor()
EndScript
__________

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




--
Thanks,
Aaron Lane
INC Environmental Recycling
__________

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

NOTICE: This confidential e-mail message is only for the intended
recipients. If you are not the intended recipient, be advised that
disclosing, copying, distributing, or any other use of this message, is
strictly prohibited. In such case, please destroy this message and notify
the sender.
__________�

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




-- 
Thanks,
Aaron Lane
INC Environmental Recycling
__________�

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

Other related posts: