[jawsscripts] Re: Tracking a focus rectangle

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 21 Nov 2012 15:12:02 +1100

Ah. great. thanks Jim for this clarification.

BTW hsc has some really cool and extensive features to make working with 
colors in blank areas much easier.
Including, but not limited to, the ability to automatically hear the color 
of each pixel as you land on it when moving with normative 
alt+Shift+Left/Right arrow keys, (And, adding windows key to that mix, 
causes hsc to move to the next pixel that is, not, of the color it last 
announced, telling you how many pixels it had to move to find the new color 
as it does so.
Very nice for exploration!
BTW This Color autoAnounce can also be disabled if desired using the 
ControlAltShiftPeriod toggle.)
other features like HSCDecode Hotspot color, and HSCVertical and horizontal 
slider tracking functions, should also be looked into, as once set up right, 
they can bring awesome accesibility to otherwise very unfriendly graphical 
situations.

For example, I've set up my horizontal track bar in iTunes, such that I can 
either hit a hotkey and find out it's percentage travel, and then because 
the mouse is at the point of current location, I can alt+Shift+Arrow it 
along left or right then click, to jump the audio back or forward, or, even 
more handily, i've set up a bunch of hotkeys control+GraveAccent through 
Control+0, which jump from beginning, to just before 100 percent. enabling 
me to jump through a book or song or whatever in iTunes, very readily and 
simply in 10 percent increments.
stuff like that.


From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, November 21, 2012 8:59 AM
Subject: [jawsscripts] Re: Tracking a focus rectangle


> HSC options are not set in the insert+v dialog any more, since the move to
> quick settings.  There is no good way to blend your settings options in if
> you are being used by a set of application scripts that you don't want to
> modify.
> Instead, find those settings in the HSC actions menu, hsc mods f10.
>
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, November 20, 2012 4:00 AM
> Subject: [jawsscripts] Re: Tracking a focus rectangle
>
>
> HSC can help here, as it has the very helpful, GetColorAtPoint, script
> already built in for you, set to Shortcut key, Alt+Shift+NumPad5.
> In addition, Double Clicking this keystroke copies the resultant color to
> clipboard, for later pasting into Definitions or scripts etc,
> in either integer or RGB format, depending on the HSC selection set in the
> JawsKey+V quick verbosity dialog.
>
> oooh, just checking that setting selection here though with hsc 217, and I
> can no longer see it in here! I wonder have recent changes to this dialog
> removed these HotSpotClicker settings from here. I'll consult on that one.
>
> you know about HotSpotClicker, right?
>
> http://www.hotspotclicker.org.
>
>
> ----- Original Message ----- 
> From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, November 20, 2012 4:05 PM
> Subject: [jawsscripts] Re: Tracking a focus rectangle
>
>
>> Insert+5 won't help you identify the color of an area that does not
>> include a character. For that, you'll have to write a script that
>> tells you the result from the GetColorAtPoint function. Insert+5 calls
>> GetColorText() and GetColorBackground() and reports those two results.
>> Those functions only work with text. On a blank spot they both return
>> black.
>>
>> On Mon, Nov 19, 2012 at 03:43:41PM -0500, Rizzino, Art wrote:
>> Revisiting an old topic.
>>
>> I am working with a custom application that JAWS cursor can read text and
>> labeled graphics.
>> I am told that there is a rectangle around text indicating current 
>> choice,
>> but when I have a sighted person put the mouse on it JAWS tells me that
>> the screen colors are black on black.  Actually anywhere you put the JAWS
>> cursor the colors are black on black.
>>
>> Any ideas?
>> Thanks.
>>
>> Art Rizzino
>> Assistive Technology Specialist
>> Blind and Vision Rehabilitation Services of Pittsburgh
>> ?
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Doug Lee
>> Sent: Saturday, July 14, 2012 1:21 AM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Tracking a focus rectangle
>>
>> I've had to do stuff like this occasionally, and yes, it's a challenge to
>> keep the code from being slow. A few ideas, assuming a simple custom
>> highlight color is not enough - and watch out, if using that, for empty
>> rectangles, which will not trigger anything based on a highlight color:
>>
>> Figure out the minimum width and height of the rectangle you want, and 
>> the
>> smallest screen area in which it can ever reside. Also figure out the
>> minimum width of a detectable sign of the rectangle, usually its border.
>> Use the second of these to determine the screen area to scan, then write
>> code to scan across horizontal or vertical lines in that space, as far
>> apart as dictated by the answer to the first question, and only checking
>> as many pixels as required based on the answer to the third question. 
>> Once
>> you find a rectangle edge, either trace round it to find the others or
>> repeat the same trick in the other direction across your screen space. Of
>> course if you find the four walls of your rectangle you can 
>> mathematically
>> determine the corner coordinates for it.
>>
>> Finally, you can cache the last findings and write a quick "Is it still
>> where it was" checker, so the scans only occur when things are actively
>> changing.
>>
>> A lot of work, this can be, but this sort of thing can really make some
>> impossible-looking stuff just work.
>>
>> On Fri, Jul 13, 2012 at 11:23:40PM -0500, Jim Snowbarger wrote:
>> The situation is sort of like a spreadsheet, but not in Excell, in a
>> software design tool. It's the entities on a diagram.  As you operate the
>> arrows, you move focus to one entity or another, along prescribed paths.
>> And, the way the program indicates focus is by moving a box around that
>> encloses an  entity.    The box is, of course,  indicated by alternating
>> bands of color.
>> Jaws doesn't track that focus change, even though Track Focus Rectangle 
>> is
>> turned on.   And, the focus object isn't moving around.  And, I can't
>> think of any place where you can specify the definition of a focus
>> rectangle.
>> So,  I guess I'll have to search for it myself.
>> Anyway, for some reason I don't seem to have any code around where I did
>> this, even though I've certainly seen it before.  So, I'm about to 
>> rewrite
>> some clever code to search for that box, and know  I'll have a great time
>> doing it, even though if I were more orderly, I wouldn't have to.  But, 
>> it
>> will be a nice  little short brain teaser, though when I get it done, 
>> it's
>> going to be a dog of a performer.  An old dog.  So, is there a better way
>> to approach this?  You guys know any tricks I might try?  Or, something
>> obvious I've overlooked?
>> Think twice, if it's really simple.  Are you sure you wanna tell me? You
>> know you might be depriving a compulsive programmer of his kicks.  <grin>
>> __________???
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>> --
>> Doug Lee, Senior Accessibility Programmer SSB BART Group -
>> Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx
>> http://www.ssbbartgroup.com "While they were saying among themselves it
>> cannot be done, it was done." --Helen Keller __________???
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>> This message and any attachments are intended for the sole use of the
>> individual to whom it is addressed.
>> The information contained herein is confidential, proprietary, privileged
>> or otherwise prohibited by law
>> from disclosure. If you have received this email in error, please destroy
>> the message immediately and
>> notify the sender by email.
>>
>> __________???
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>> -- 
>> Doug Lee, Senior Accessibility Programmer
>> SSB BART Group - Accessibility-on-Demand
>> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
>> "While they were saying among themselves it cannot be done,
>> it was done." --Helen Keller
>> __________�
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>
> __________�
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>
>
> __________�
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
> 

__________�

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

Other related posts: