I use "QuotePlugin" in the skin slide show.
I wonder if when you change the wallpaper in the skin by "QuotePlugin" can be performed some action such as ( PLAY ) or ( ! HideGroup ) ?
It is currently May 4th, 2024, 7:57 am
QuotePlugin?
-
- Posts: 112
- Joined: August 18th, 2012, 5:19 pm
-
- Posts: 608
- Joined: February 7th, 2011, 7:27 pm
- Location: Thessaloniki, GR
Re: QuotePlugin?
AFAIK, the Quote doesn't have an OnChangeAction, so what you say isn't possible, using the Quote plugin itself. You can setup a Calc counter though, with the same "UpdateDivider" as the Quote plugin, and get the job done, I suppose.
I got some minor inconsistencies what that code, but it could be may PC. Try it to check if it does what you want.
Code: Select all
[mQuote]
Measure=Plugin
Plugin=QuotePlugin
PathName=%HOMEDRIVE%%HOMEPATH%\My Documents\My Pictures\
Subfolders=1
FileFilter=*.jpg;*.gif
UpdateDivider=#UpdateDivider#
[mCounter]
Measure=CALC
Formula=(mCounter+1)%(#UpdateDivider#+1)
IfEqualValue=#UpdateDivider#
IfEqualAction=[!Redraw][!Bang here whatever you want]
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: QuotePlugin?
Another Approach would be doing something like this
on the PLAY Button and with something like this
with UpdateRate = -1 it only updates on Refresh and if you update it via Bang
Code: Select all
LeftMouseUpAction = [!UpdateMeasure "MeasurePluginQuote"]
Code: Select all
[MeasurePluginQuote]
Measure = Plugin
Plugin = QuotePlugin
UpdateRate = -1
Powered by Sublime Text 3 with Rainmeter-Package
-
- Posts: 112
- Joined: August 18th, 2012, 5:19 pm
Re: QuotePlugin?
With the help of your solution was up SlideShow with the effect of the slide.KreAch3R wrote:I got some minor inconsistencies what that code, but it could be may PC. Try it to check if it does what you want.
I used to BitmapTransitionFrames and your Formula Calc.
The result looks good, but does nothing I can synchronize changes
pictures of enclosed slide. I've tried everything, even the number of frames, and calculate the duration. However, I noticed that when the UpdateDivider in [ImageMeterSlide] is higher than the one in UpdateDivider [Wall] or vice versa.
This gradually increases each update to the difference which should be 1 second. Update I set in 1000, and here I was very surprised.
If you see this can not be synchronized in some way?
At the bottom is the file rmskin this code to be able to see what and how.
Code: Select all
[Rainmeter]
Author=WiedzmaWiedzma
Update=20000
TransitionUpdate=50
[Variables]
UpdateDivider=1
ImagePath=#CURRENTPATH#DownloadFile\
SubFolders=0
FileFilter=*.jpg;*.jpeg;
[BG]
Meter=IMAGE
ImageName=bg.png
X=0
Y=0
UpdateDivider=-1
[mCounter]
Measure=CALC
Formula=(mCounter+1)%(#UpdateDivider#+1)
UpdateDivider=
[MeasureSlideShow]
Measure=Plugin
Plugin=QuotePlugin
PathName=#ImagePath#
FileFilter=#FileFilter#
Subfolders=#SubFolders#
Disabled=0
Substitute="#ImagePath#":"",".jpg":""
UpdateDivider=
[Wall]
Meter=IMAGE
ImageName=#ImagePath#[MeasureSlideShow].jpg
X=6
Y=4
W=460
H=224
PreserveAspectRatio=2
DynamicVariables=1
UpdateDivider=
[Logo]
Meter=IMAGE
ImageName=logo.png
X=12
Y=185
UpdateDivider=-1
[ImageMeterSlide]
Meter=Bitmap
MeasureName=mCounter
X=6
Y=4
BitmapImage=Slide.png
BitmapFrames=17
BitmapTransitionFrames=16
BitmapExtend=0
UpdateDivider=
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 889
- Joined: September 6th, 2011, 6:34 am
Re: QuotePlugin?
You could try to write a Lua script that reads the folder contents and picks the appropriate image, toggles the transition etc. I think there is no function in standard Lua to get a list of directories so you'll have to do a little workaround and get the output of the "dir" command. I found this StackOverflow question which might help you: http://stackoverflow.com/questions/5303174/get-list-of-directory-in-a-lua
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
-
- Posts: 112
- Joined: August 18th, 2012, 5:19 pm
Re: QuotePlugin?
When it comes to LUA threshold is too high for me!MerlinTheRed wrote:You could try to write a Lua script
-
- Posts: 446
- Joined: August 7th, 2012, 9:18 pm
Re: QuotePlugin?
its easywiedzmawiedzma wrote: When it comes to LUA threshold is too high for me!
trust me
and google helps a lot cause its a really popular script language (most popular example would be World of Warcraft)
Powered by Sublime Text 3 with Rainmeter-Package
-
- Posts: 112
- Joined: August 18th, 2012, 5:19 pm
Re: QuotePlugin?
I found this forum topic "Creating Independent Counters"
and I wonder if one could use this approach instead of LUA.
Does using update = 60000 for QuotePlugin
I am able, with the help of an independent meter half or 1 second before the display bitmap "BitmapTransitionFrames" ?
and I wonder if one could use this approach instead of LUA.
Does using update = 60000 for QuotePlugin
I am able, with the help of an independent meter half or 1 second before the display bitmap "BitmapTransitionFrames" ?
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: QuotePlugin?
I like what you are trying with this skin
Kaelri wrote an excellent universal transition script that may help you achieve the effect you want.
Trying to get a bitmap animation (slide change) to keep time with the quote plugin (wall update) is nearly impossible without lua...
So without having to actually program in lua, Kaelri's script may help you get the transition effect you are working on using 2 meters instead of bitmap animation.
I would like to see you succeed in getting a Bing images skin!
Kaelri wrote an excellent universal transition script that may help you achieve the effect you want.
Trying to get a bitmap animation (slide change) to keep time with the quote plugin (wall update) is nearly impossible without lua...
So without having to actually program in lua, Kaelri's script may help you get the transition effect you are working on using 2 meters instead of bitmap animation.
I would like to see you succeed in getting a Bing images skin!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 112
- Joined: August 18th, 2012, 5:19 pm
Re: QuotePlugin?
I managed to solve the problem of synchronization!eclectic-tech wrote:I like what you are trying with this skin
I would like to see you succeed in getting a Bing images skin!
Here you can see the effect :
My Gallery on DeviantArt : http://fav.me/d5ghjww
You do not have the required permissions to view the files attached to this post.