[jawsscripts] Re: Identifying links and executing them

  • From: "Sean Randall" <seanr@xxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 22 Jul 2009 23:27:06 +0100

Kevin,

If the history window is navigable with the cursor enter on a link (or
within it at least) oftentimes does what you want.

I would caution against finding "the start of the text" with http or similar
- firstly because links don't always appear start of line or chunk, and
secondly because there are numerous protocols and variants on those
protocols that people are still popping out complex regular expressions to
cover them all.  Leave the link detection to the application and try hitting
colour and style, or any MSAA or similar attributes indicative of a
clickable element.

Sean.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kevin Mattingly
Sent: 22 July 2009 22:53
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Identifying links and executing them

OK Folks,
Got a questions on identifying links and getting them to fire up the
browser.

I know Dennis Brown did a lot of work in the past with MSN Messenger and the
other windows messenger programs. I'm greatfu for the head start. I'm
working with Office Communicator 2007 and as I'm in the history window, I'm
scrolling up and down through the text. When a sighted user clicks on a line
of text refering to a link

Example:

http://www.google.com/ig

IE opens up and goes to the page. I believe that If I check to see that I'm
in the history window and that the initial text begins with http, I can
identify it as a link. My question is can I get jaws to recognize it as such
and open that page?

Thanks for any direction,
Kevin M.
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: