[jawsscripts] Re: Center View of Search

  • From: Ethan <ethan8768@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sat, 28 Apr 2018 10:34:17 -0600

Hello,

Yes, this is possible. MAGic has a scripting flag that can be set to allow for 
scripting. Alternatively, JAWS and MAGic can run at the same time.

Thank you,

Ethan 

Sent from my iPhone

On Apr 28, 2018, at 10:14 AM, Jonathan Cohn <jon.c.cohn@xxxxxxxxx> wrote:

Hi,
I assume, that you were just using MaGic and not JAWS. I have no idea how
this would work. Does it work at all?
On Fri, Apr 27, 2018 at 4:06 PM Ethan's Mailing list account <
ethan8768@xxxxxxxxx> wrote:
Re sending this in case someone may have an idea on a solution.

Thank you,

Ethan

---------- Forwarded message ----------
From: Ethan's Mailing list account <ethan8768@xxxxxxxxx>
Date: Wed, 25 Apr 2018 17:27:42 -0600
Subject: Center View of Search
To: jawsscripts <jawsscripts@xxxxxxxxxxxxx>

Hello scripters,

I have a question regarding MAGic scripting. It is pretty much the
same as JAWS scripting except additional scripts and functions are
used.

What I am trying to do is in a browser like Firefox, I would like to
search for a search term and find it. If the search is successful, I
would like MAGic to change the view so that the search term is in
focus, and have the mouse located where the search term appears to
allow for reading the line with MAGic.

The functions and scripts that are available to me do not appear to do
what I would like,  however, I am sure this is possible. Here is what
I have so far:

Function SearchForTermTest () ; CTRL+D
If (FindString (GetCurrentWindow(), "Sign in", s_top, s_Unrestricted)) Then
       PerformScript MoveViewToCursor()
       CenterMouseInView ()
       SayLine ()
Else
       Say ("not found", Ot_message)
EndIf
EndScript

Thanks in advance,

Ethan
__________�

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: