I want to change the image "Volume.png" to either "Volume1", "Volume2" or "Volume3" depending on the volume, where "Volume1" is lowest and "Volume3" is the highest.
svejedobro wrote:I want to change the image "Volume.png" to either "Volume1", "Volume2" or "Volume3" depending on the volume, where "Volume1" is lowest and "Volume3" is the highest.
You have to add some IfConditions to the [MeasureVolume] measure:
Here the limits where the images are changing are 33% and respectively 66%. Obviously you can can easily change these limits, changing the appropriate values in the IfCondition options. Just be careful to have covered the whole range, from 0% to 100% (and if you want, you can add one more IfCondition and the appropriate IfTrueAction, to change the image to a fourth one, when the system is on mute, with the following condition: IfCondition4=(#CURRENTSECTION#<0), because in this case, the [MeasureVolume] measure returns -1).
In case you wondered how it looks, I'll put it here so you can check it out. It's as simple as it gets and quite useful.
I've colored it how I like it but you can easely color it in photoshop.
Good work, congratulations.
Just a short note: you can completely remove the ImageName option of the [VolumeBar] meter. It's not needed, because the IfTrueAction options of the [MeasureVolume] measure are setting the appropriate image. However even if you let it there, that's not a problem.
Ok, one more, I hope you don't mind.
The [BackGroundDisplay] meter is again useless. I'd remove it and instead, I'd add the following options to the [Rainmeter] section:
This way you can avoid using another meter.
But even if you prefer to leave the [BackGroundDisplay] meter, add an UpdateDivider=-1 option to it, because there is no need to update it on each update cycle of the skin.