Teleclast Posted December 10, 2009 Share Posted December 10, 2009 Hi, I'm looking to fix my Rainmeter skin so that I can have the font change when the wallpaper changes. Right now I have my wallpapers in a slideshow and some have white backgrounds, some black, some other colors. Changing it is a hassle, and I'm trying to get a setup that looks fine with any wallpaper. The background panel is transparent so the text is sitting literally just on the desktop. I have the font color saved in a variable that they all read from, but now I just need a way of checking what the background color is, and if it's under a certain amount (let's say under 0F0F0F) it'll use black font, but if it's over it'll use white (preferred color). I was wondering if there would be any way to do this so that I could have AutoIt do it and then integrate it into my skin? It would just have to output the color value to the folder it could be in hexadecimal or in R,G,B,A. Link to comment Share on other sites More sharing options...
Teleclast Posted December 10, 2009 Author Share Posted December 10, 2009 Anybody? I'm not asking for it to be done, I'm just wondering if AutoIt can select a color from the desktop (preferably even if I have a window on top of it) from the corner or something and then do some basic comparitive functions and write out based on that. Mostly worried about the first 2 parts, the reading of the pixel and writing it to a .ini file. Link to comment Share on other sites More sharing options...
d0n Posted December 10, 2009 Share Posted December 10, 2009 yes you can read the color of the pixel on the desktop, however it will just read whatever is on top Link to comment Share on other sites More sharing options...
JohnOne Posted December 10, 2009 Share Posted December 10, 2009 I dont know anything about slideshows or rainmeters or whatever but the above post is correct, you cant get a pixel color that is not on the screen AFAIK. I assume these images have names that are in your slideshow. Could you not determine the colours individualy and choose which fonts you want for each image name ? You could then have autoit gather the walpaper info and change the font based on its name. Its all very well me saying this but I dont actually know if autoit can get the wallpaper name, but I imagine so. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Teleclast Posted December 11, 2009 Author Share Posted December 11, 2009 Thanks, I'll just reserve edge of my screen where my dock is. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now