[jawsscripts] Re: HSCDecodeHotspotColors

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 15 Jun 2009 01:17:56 +1000

Hi gian,
oh man! I've been meaning to answer this queery of yours re color
identification and reporting differing feedback based on state of color at a
particular spot,
and in fact started an answer to what I know was your second attempt at
getting a, "how to," on this,
1.5 weeks ago but never finished it! I'm soooo sorry about this man. I'll
try and get to it tomorrow though eh. I wanna go to bed here now, but I
think I may have
something helpful to contribute on this for you, which is a simpler approach
than the one that I think was suggested by doug or dennis on list last week,
though their method might very well be more comprehensive.
What's your skype User ID? maybe it'd be quicker to talk about it all than
write it down?

but your key to doing this is a post processing hsc function called
hscDecodeHotSpotColor.  and it should be found under the
Control+Alt+Shift+f3 menu, after you've assigned your hotspot.
But, first make sure that your hotspot, is over a pixel which alters color
to reflect the state of whatever control this is, that your wanting feedback
on when you click it.
use the alt+shift+NumPad5 Keystroke, to determine this pixel's color, when
the button or whatever it is,
is in a certain state, then manually click the NumPad slash key at that
location,
and then checking again with Alt+Shift+Numpad 5, to check what color that
pixel now is, in the button's new state etc, so you maybe will get to
remember what color is associated with what state.
then when your sure your mouse is over a pixel that will reliably reflect
this change at your spot, then go ahead and define your spot in the normal
way using the altControlShiftA wizard.
then when your done, first insure the mouse hasn't moved from your spot, and
then do the post processing assign command, alt+control+shift+f3.
you should be offered a list of post processing functions to assign to your
hotspot.
choose hscDecodeHotSpotColor, and follow the prompts. i.e. choose the action
you want to happen when xx color is found, then which should be I think
hsdSayPhraseByColor, or something like that.
then activate the spot with the keystroke you assigned to it, as directed,
and type in the phrase to be spoken when it clikcs, and finds xx color there
etc.

I hope this helps.
----- Original Message ----- 
From: "GianniP46" <giannip46@xxxxxxxxxxxxx>
To: "JawsScriptsList" <JawsScripts@xxxxxxxxxxxxx>
Sent: Sunday, June 14, 2009 2:47 AM
Subject: [jawsscripts] HSCDecodeHotspotColors


> OK Folks,
> I got this function to work after a hotspot, but I want to have two colors
recognized and a different message for each color spoken.  The help says to
put an F after the RGB string.  Does anyone have some examples of this that
I can see?  I am not sure exactly what is suppose to happen.
>
> 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
> //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: