Sign in to follow this  
Followers 0
Teleclast

Is this possible

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

yes you can read the color of the pixel on the desktop, however it will just read whatever is on top

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Thanks, I'll just reserve edge of my screen where my dock is.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0