hi, i am new here in rainmeter.
I know that using quote plugin can measure random pictures, but my aim is not showing random picture. I would like to create a slideshow skin that can show pictures in sequence.
Say i have 10 pictures in a folder, #1~10.jpg, i would like to show them from #1 to #10, is it possible?
thanks for any advice
It is currently May 8th, 2024, 3:52 am
Is there a way to have sequential slideshow?
-
- Posts: 5
- Joined: April 8th, 2011, 4:36 am
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Is there a way to have sequential slideshow?
This is one simple approach that will work:
Name your images 1.jpg through 10.jpg and they will display in that order. The variable "SecondsBetween" can be changed to alter how often the images transition.
If you are not used to "conditional" formulas, it is basically saying "If MeasureCounter is less than 10, then add 1 to MeasureCounter, else set MeasureCounter to 1". Then the Image meter uses the value of MeasureCounter to display the correct image.
You need DynamicVariables=1 on the Image meter to use the value of a measure as the file name that way.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[Variables]
SecondsBetween=5
[MeasureCounter]
Measure=Calc
Formula=(MeasureCounter < 10 ? (MeasureCounter + 1) : 1)
Substitute=".00000":""
UpdateDivider=#SecondsBetween#
[MeterImage]
Meter=Image
ImageName=#CURRENTPATH#Images\[MeasureCounter].jpg
DynamicVariables=1
If you are not used to "conditional" formulas, it is basically saying "If MeasureCounter is less than 10, then add 1 to MeasureCounter, else set MeasureCounter to 1". Then the Image meter uses the value of MeasureCounter to display the correct image.
You need DynamicVariables=1 on the Image meter to use the value of a measure as the file name that way.
-
- Posts: 5
- Joined: April 8th, 2011, 4:36 am
Re: Is there a way to have sequential slideshow?
oh thanks! then i will have to batch rename my pics to be included in the slideshow
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Is there a way to have sequential slideshow?
You might want to take a look at http://rainmeter.net/forum/viewtopic.php?p=35104#p35104