

This gives Rainmeter a lot more versatility of use. While it can be a simple checking to see if the string value of a measure equals “‘Wednesday,” the real power of IfMatchAction is that it uses Perl Compatible Regular Expressions to do the comparisons. Again, you can take actions, and as many as you want, based on the string match being true or false. Where IfCondition evaluates a mathematical test as “true” or “false,” IfMatchAction does exactly the same thing for textual strings. It can be thought of as IfConditions for strings. If it’s Saturday or Sunday, then you can set a skin to take a different action for the weekend than it would during the week.Īnother string, a sister to IfConditions, is IfMatchAction. For example, if you have a weekly event every Tuesday, IfConditions can check the day of the week, and if it’s Tuesday, your calendar skin can remind you of your weekly event. Skins can also check the day of the week and display different information. You can have as many of these IFConditions and IfTrue/IfFalse actions as you want on a single measure.

If it is greater than 51 percent, set the font color to red. If it is between 11 and 50 percent, set the font color to yellow. A simple example might be if the current CPU usage is lower than 10 percent, set the display font color to green.

You can use these two features to create “if this then x action, else then y action” constructs. Chief among its new features is the IfConditions functionality, a partner to IfActions. New features are tranforming Rainmeter from a simple desktop customization app to a computational tool. It displays the results, using very customizable string, image, bar, histogram, and other “meters.” But new features are set to expand on the tool’s capabilities. According to Jeff Morley, one of its developers, Rainmeter is a simple idea: It “measures” things-time, CPU usage, temperature, drive space, network activity, unread emails, the current weather, and more.
