Get RGB color of a specific screen location

Lagi Pittas iphonelagi at
Mon Jan 7 14:29:00 CET 2019

Seems like it was answered the same day by Phil Davis


Phil Davis via use-livecode
Mon, 31 Dec 2018, 17:51 (7 days ago)
to Beat, Phil
set the screenMouseLoc to globalLoc(tLocWithinMyStack)
put the mouseColor into tTheColorAtThatScreenLoc

Phil Davis

On Mon, 7 Jan 2019 at 12:10, Beat Cornaz via use-livecode <
use-livecode at> wrote:

> I have asked this befor, but for the first time did not get any answer on
> my post. So I hope you don't mind that I try again :-)
> How do I get the RGB color of a pixel of an image? I know the function the
> MouseColor, which gives me the RGB numbers under the cursor. What I need is
> to get the RGB of a specific screen location - I need to make an avarage of
> e.g. 5x5 pixels. So how do I get the RGB numbers of e.g. location
> "30,200"?
> Cheers, Beat
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list