[jawsscripts] Re: HSC searching for a graphic

  • From: "Tim Burgess" <tim@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 14 Jan 2010 16:54:42 -0000

I agree with Geoff here - I've never bothered with creating spots against a
labelled graphic as I've got solid reliability out of creating static spots
and detecting their state using HSC's colour detection and post-processing
features.

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 16:05
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: HSC searching for a graphic

yep, you should be able to do that. that should work, so long as the OSM
remains reliable enough in Jaws.  as I say, that's not nearly as much of a
given as one would like to be able to believe.

and, seriously I'd only use this method though, if just doing two static
spots in your window, proved unreliable or not satisfactory for some reason,
due to them being moved about by other dynamically altering things in the
environment.
i.e. without searching for any graphics etc.  since they'l be snappier in
response if hsc just has to go to a spot and click, without having to search
for a graphic first.  but, sure, try it out, it should work too.

Message ----- 
From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, January 14, 2010 2:44 PM
Subject: [jawsscripts] Re: HSC searching for a graphic


> you are the man!  ok, so I  know that for example there two internal mode
graphics.  one for the left deck and one for the right deck in ScratchLive.
So I can set up a hotspot for the first one as usual just to search top down
for the first instance of internal mode?  And the second would get the same
thing, but then change the graphic count to two and then it will click the
second one instead of the first one?
>   ----- Original Message ----- 
>   From: Geoff Chapman
>   To: jawsscripts@xxxxxxxxxxxxx
>   Sent: Wednesday, January 13, 2010 8:52 PM
>   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
>
>
>
> --------------------------------------------------------------------------
----
>
>
>
>   No virus found in this incoming message.
>   Checked by AVG - www.avg.com
>   Version: 9.0.725 / Virus Database: 270.14.139/2619 - Release Date:
01/13/10 14:35:00
>
> __________
> 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: