[EMAIL PROTECTED] wrote:
>
>Could anyone help me, I'm a python noob and need some help. im trying
>to find some code that will, given a screen co-ordinate, will give me
>the colour of that pixel in RGB. i have found a lot about getting the
>pixel colour from a picture file with a given co-ordinate, but is it
>possible to do it from the whole screen output regardless what
>application the selected pixel is in?

Which operating system?  If you are on Windows, and you have pywin32
loaded. you can use the Windows APIs GetDC and GetPixel.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to