chris <[EMAIL PROTECTED]> wrote: >On Jun 30, 4:37 am, Tim Roberts <[EMAIL PROTECTED]> wrote: >> [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 ascreenco-ordinate, will give me >> >thecolourof thatpixelin RGB. i have found a lot about getting the >> >pixelcolourfrom a picture file with a given co-ordinate, but is it >> >possible to do it from the wholescreenoutput regardless what >> >application the selectedpixelis in? >> >> Which operating system? If you are on Windows, and you have pywin32 >> loaded. you can use the Windows APIs GetDC and GetPixel. > >i have ubuntu hardy. does that help?
Then you will have to use a GUI library of some kind: wx, or Qt, or tkinter. The answer depends on which GUI library you decide to use. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list