[jawsscripts] Re: HSC searching for a graphic

  • From: "Tim Burgess" <tim@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 14 Jan 2010 08:47:10 -0000

I'd use top level window positioning if this is a plug-in, as it can get
resized within the host application and that'll break the spot.

Best wishes.

Tim Burgess
Raised Bar Ltd
Phone:  +44 (0)1827 719822
Mobile:  07989 486976
Web:  http://www.raisedbar.net
Facebook:
http://www.facebook.com/pages/Atherstone-United-Kingdom/Raised-Bar-Ltd/12023
4896800

Don't forget to vote for improved access to music and music technology at

http://www.raisedbar.net/petition.htm
 


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
Sent: 14 January 2010 01:52
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: HSC searching for a graphic

yep it should be.

first, obviously label your graphic with something halfway meaningful, even
if there
is more than one instance of it, and they may do quite different things in
each of those instances.
second, place your jaws cursor over that graphic, and press hscMods+f7.
hsc should then attempt to do a little FindGraphic test on that graphic, and
tell you if it can see it in the OSM or not, and tell you what iteration it
is.
i.e. 2 of 7 or whatever, if there are 7 instances of it in the application
window, or whatever window you've told it to search in. tip: doubleClicking
hscMods+f7, wil flip the type of window that hsc should use to search in,
from Application window, rotering through TopLevel window, then current
window.
this is more complicated than I've got time right now to go into, but you
would normatively probably use application window, although using the other
window types, might narrow things down a bit in some ways, but have other
caveats to working successfully, depending how identifiable those other
window types might be.

so then go ahead and define your Hotspot over that graphic, using the
alt+control+shift+g,
graphics and text, wizard hotkey, and choose Search TopDown when it asks.

then when your done, go into the definition editor and look for a line that
says,
GraphicCount=1

change that number to the instance of the graphic you want it to look for.
then hit enter to save the edit and ok when asked to confirm.

Note! be warned! Jaws and offScreenModel reliability is not known for it's
robustness.  so reliability may be less than you would like it to be, using
these methodologies to click at the right spot.
obviously you can label your spot then, with the job that instance of the
graphic, will do when you click it, which in fact was the whole initial
reason prompting me to desire an app like
hotSpotClicker in the first place.  for those SITUATIONS where you had
multiple instances of the same graphic, doing very different things, and you
wanted a way to click on each one and label it, with it's own job at that
location.

tip2. if you find the FindGraphic iteration feature just tooooo unreliable,
you might ditch that, and try using current Window, for the spot positioning
mode instead.  and, if that currentWindow containing this graphic/spot
location, is uniquely identifiable enough with hsc, then you might have
better reliability of hsc tracking that window, than you might obtain
through the more touchy and more frontEnd, findGraphic method, which is apt
to be somewhat unreliable due to OSM concerns in my view.



To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx>
Sent: Wednesday, January 13, 2010 10:07 AM
Subject: [jawsscripts] HSC searching for a graphic


> Hi,
> Is it possible to create a hotspot  and have HSC search top down for the
second instance of a particular graphic?
>
> Gian Pedulla
> GianniP46@xxxxxxxxxxxxx
>
> LETS! GO! METS!
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://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 
http://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 
http://www.freelists.org/list/jawsscripts

Other related posts: