[jawsscripts] Re: need help to create a script in the word jitter game

  • From: "NIcol" <nicoljacobus@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 31 Jan 2011 22:12:35 +0200

Hi tony
I copied the line of code from your post into the script.
This is the error I am getting when compiling:
Function FindString requires 4 parameters not 5

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Tony Hernandez
Sent: 31 January 2011 06:26 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: need help to create a script in the word jitter
game
Importance: High

Hi Nicol.

Try this code instead.

Script MoveToWord ()
FindString (GetCurrentWindow (), "was", S_Top, S_Restricted, false)
EndScript

Hth.

Tony Hernandez
http://dutyofman.net/

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of NIcol
Sent: Monday, January 31, 2011 11:09 AM
To: Jaws Scripting
Subject: [jawsscripts] need help to create a script in the word jitter game

Hi list
I purchased word strain volume 1; a game from  www.bscgames.com.
In word jitter if the time is up I would like to put my cursor on the word
that I were unable to unscramble.
I experience a problem.
First I route jaws to pc.
Then I press insert plus r until it says current.
I press control plus insert plus f and I type the word,  was, since the word
I want to put my cursor on is next to the word, was.
The sentence is:
For example.
The word was stopes.
 So I type the word, was, into the jaws find dialogue and hit enter.
Jaws tells me search string not found.
So I went and created the following script.
Script MoveToWord ()
FindString (GetCurrentWindow (), "was", s_next, s_restricted)
EndScript 
But the script does not work.
It doesn't put me on the word,  was.
Your help is much appreciated. 
Nicol

__________o?=

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


__________o?=

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

__________�

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

Other related posts: