[jawsscripts] Re: Element attribute values.

  • From: "Haden Pike" <haden.pike@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 3 May 2009 16:10:54 -0400

Can you post what you have of the script to the list so we can see in 
greater detail what you have?
Haden

--------------------------------------------------
From: "Léonie Watson" <tink@xxxxxxxxxx>
Sent: Sunday, May 03, 2009 3:40 PM
To: <jawsscripts@xxxxxxxxxxxxx>
Subject: [jawsscripts] Element attribute values.

> Good evening,
>
> I'm returning to Jaws scripting after a bit of a break. I've refreshed my
> memory on the basics, and feel pretty comfortable with things at that 
> level.
>
> I'm now trying to write a script that will allow me to identify all the 
> links
> on a page with a specific attribute. The catch is that I also need to be 
> able
> to identify a specific value for that attribute. I'd then like to be able 
> to
> move between the links that have this specific attribute/value 
> combination.
>
> I've started with a script that will move to the next link on the page 
> with
> the given attribute/value combination. The MoveToTagWithAttribute() 
> function
> successfully gets me part of the way, but I'm struggling with a method for
> getting at the attribute value information.
>
> I've used the DisplayBasicElementInfo() function, which provides just the
> kind of information I need on the element. The trouble is that I don't 
> want it
> to appear in the virtual reader, but instead would like to be able to 
> access
> it to determine if the element has the right attribute/value combination.
>
> It's quite possible of course that I'm taking entirely the wrong approach! 
> If
> anyone can help, make any suggestions or point me in the direction of some
> further reading/resources, I'd be grateful. At the moment, this is making 
> me
> dizzy! Thanks.
>
> Léonie.
>
>
> -- 
> http://www.tink.co.uk/
>
> Email: tink@xxxxxxxxxx
> Twitter: LeonieWatson
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature
> database 4049 (20090501) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________
> 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: