When screensaver is running, this function will return the color of the screensaver that time. Is there any way to work around this, to get the color under the "screensaver-layer"? Or do I have to disable the screen saver each time my program starts and enable it when exits?
new java.awt.Robot().getPixelColor(x,y); // returns the color of the pixel at (x,y)
If there is no work around, can anyone give me the path to the key in the registry, that holds the data about if the screensaver is enabled or not?