[jawsscripts] Re: Very simple script using IEFind that won't work for me?

  • From: "John P. Thomas" <johnt@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 3 Mar 2014 20:42:02 -0500

Hi Geoff,

When I use this type of script, I add a few other points to help the process.

JAWSTopOfFile () ; avoids the annoying beep that is heard when JAWS circles 
around from the bottom of the page back to the top.  
Pause ; ; If the page is large or the processor is slow, this gives time for 
the processor to catch up. 
SetJAWSFindText ("TextHere")
JAWSFindNext ()
If StringContains (GetLine (), "TextHere") Then   
SayLine ()
Else
SayString ("TextHere not found") 
;This is also a place where you could put in a second search that would only 
get used  when the first search fails.
EndIf


John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
Sent: Monday, March 03, 2014 1:24 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Very simple script using IEFind that won't work for 
me?

Hi Geoff,  I use it like this:
SetJAWSFindText ("TextHere")
JAWSFindNext ()
SayLine ()
Tom Bisset
Wealth Management Technology
BMO Financial Group
Tel: (647) 258-8502
E-Mail tom.bissett@xxxxxxx


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: March 3, 2014 12:54 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Very simple script using IEFind that won't work for me?

If anyone could shed any light on why the below, very simply attached to a 
hotkey, will not jump to the text on the page which says "incidents,"
Just as if we'd manually typed Control+F, typed the string in, and hit enter, 
I'd be most grateful!
It appears to trigger the IEFind script ok, but just stops!

Script TestFind ()

PerformScript IEFind ()

;Pause ()

; neither of the below seem to do anything and the script appears to just stop 
at this point!

TypeString ("Incidents")

; or

;{I}{n}{c}{i}{d}{e}{n}{t}{s}

Pause ()

PerformScript SayLine ()

Pause ()

PerformScript Enter ()

Pause ()

PerformScript SayLine ()

EndScript

 

 

__________ 

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: