The important thing is to understand how all this is meant to work...
Let's start from scratch with an example .rmskin I created.
So what that has is a setup like this:
I have a root config folder called SlideShowAndFavorite, and under that two folders, SlideShow and Favorite. In each of those is a skin, SlideShow.ini and Favorite.ini. Hopefully which is which is evident from the names...
So in SlideShow.ini I have:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureRandomImage]
Measure=Plugin
Plugin=QuotePlugin
PathName=C:\Users\Jeffrey\Wallpaper
FileFilter=*.jpg;*.png;*.gif
UpdateDivider=10
[MeterRandomImage]
Meter=Image
MeasureName=MeasureRandomImage
W=300
PreserveAspectRatio=1
LeftMouseUpAction=[!WriteKeyValue "MeterFavorite" "ImageName" "[MeasureRandomImage]" "#SKINSPATH#\SlideShowAndFavorite\Favorite\Favorite.ini"][!Refresh "SlideShowAndFavorite\Favorite"]
Then the LeftMouseUpAction does the following:
In Favorite.ini I have:Write to the [SectionName] "MeterFavorite", setting the option "ImageName", with the value from "[MeasureRandomImage]". I will write that to the file "#SKINSPATH#\SlideShowAndFavorite\Favorite\Favorite.ini".
Then !Refresh the config "SlideShowAndFavorite\Favorite", so it re-reads it's own .ini file, and sees the new value we set for ImageName on the meter [MeterFavorite].
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeterFavorite]
Meter=Image
ImageName=C:\Users\Jeffrey\Wallpaper\SomeStartingImage.jpg
MaskImageName=#@#Masks\Puzzle.png
W=300
PreserveAspectRatio=1