[jawsscripts] Re: Script for getting color at mouse pointer location?

  • From: Martin Slack <m.g.slack@xxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 29 Jan 2012 17:37:57 +0000

Have you looked at the RGBStringToColor and ColorToRGBString functions?

   Martin

On 29/01/2012 16:57, Saylien Brown wrote:
> Jackie, the function GetColorAtPoint retrieves
> the RGB code, I want the 6 digit color code. Also
> can you give an example script for me to model my script after? Thanks.
>
> At 11:33 AM 1/29/2012, you wrote:
>> The function u want is GetColorAtPoint(int x, int y) where x&  y are
>> the row&  column coordinates. GetCursorCol()&  GetCursorRow() can be
>> used to obtain the current coordinates.
>>
>> On 1/29/12, Saylien Brown<saybro@xxxxxxxxx>  wrote:
>>> I'm using the latest build of JAWS 13 under Windows 7 Home Edition.
>>>
>>> Really hoping someone has created a simple script for getting the
>>> Background and foreground color at the mouse pointer location. I want
>>> it to grab the RGB number(#000000) , not the name (Black.) It would
>>> copy this info to the clipboard, so all I need do is open notepad and
>>> paste the results there to know what the colors are. I'm going to
>>> attach this script to a shortcut key, so I can have quick access to
>>> it whenever I need this info.
>>>
>>> Thanks for any help.
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>
>>
>> --
>> Blame the computer--why not? It can't defend itself&  occasionally
>> might even be the culprit
>> Jackie McBride
>> Ask Me Computer Questions at: www.pcinquirer.com
>> Jaws Scripting training materials: www.screenreaderscripting.com
>> homePage: www.abletec.serverheaven.net
>> __________�
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
__________�

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

Other related posts: