It is currently March 29th, 2024, 2:21 am

Change wallpaper when music starts

Get help with installing and using Rainmeter.
zBobo
Posts: 12
Joined: November 16th, 2019, 5:07 pm

Re: Change wallpaper when music starts

Post by zBobo »

ok, i'm not able to use rainmeter and it's very hard, so i don't try more. thanks for the help guys :D
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change wallpaper when music starts

Post by balala »

zBobo wrote: November 16th, 2019, 8:11 pm i'm not able to use rainmeter and it's very hard,
No, it's not at all. Here is what should you do:
  • Create a folder named Frames into the @Resources folder.
  • Save the images (frames) numbered into this Frames folder, as Frame0.png, Frame1.png and so on. Take care to use the same number of digits into all names. For instance if you have 12 images, name them as Frame00.png ... Frame11.png. note that the number of last frame is one less then the number of frames, because the number of first frame is 0.
  • Add the following code to your skin:

    Code: Select all

    [Rainmeter]
    Update=100
    
    [Variables]
    Num= - ADD THE NUMBER OF FRAMES HERE -
    
    [ImageNumberCalc]
    Measure=Calc
    Formula=( COUNTER % #Num# )
    RegExpSubstitute=1
    Substitute="^(.)$":"0\1","^(.*)$":"#@#Frames\Frame\1.png"
    
    [ImageMeter]
    Meter=Image
    MeasureName=ImageNumberCalc
  • Add the number of frames as the Num variable into the [Variables] section above. Note that if there are less then 10 frames, you should name them as Frame0.png ... Frame9.png and should replace the Substitute option of the [ImageNumberCalc] measure with this: Substitute="^(.)$":"#@#Frames\Frame\1.png".
That's all. Does it work?
zBobo
Posts: 12
Joined: November 16th, 2019, 5:07 pm

Re: Change wallpaper when music starts

Post by zBobo »

where should i see the gif?
nothing appears on the creen when i start the skin
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change wallpaper when music starts

Post by balala »

zBobo wrote: November 17th, 2019, 9:02 pm where should i see the gif?
nothing appears on the creen when i start the skin
Have you followed the above advices? The animation is the only visible thing of the skin.
Check the log, in order to see if there is any issue. Is there any error message?
Make sure you've set properly the path of the images.
If you can't get it to work, please pack the whole config you have (including the images you'd like to use as animation) and upload the package, to can check.
zBobo
Posts: 12
Joined: November 16th, 2019, 5:07 pm

Re: Change wallpaper when music starts

Post by zBobo »

here you have, sry for the problems but i really know 0 about rainmeter and that's not easy xD
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change wallpaper when music starts

Post by balala »

zBobo wrote: November 17th, 2019, 9:18 pm here you have, sry for the problems but i really know 0 about rainmeter and that's not easy xD
No problem, this forum is intended exactly to help even the beginners.
Note that according to the second image posted the first image (Frame0) is a gif, while the next ones are pngs. I suppose Frame0.gif is the animated gif. If this is true, renumber Frame1.png - Frame4.png as Frame0.png - Frame3.pne, replace the value of the Num variable within the [Variables] section with Num=4 and retry the code. Does it work now? Do you see the animation?
If you still don't see it, please pack the whole illustro config you have and upload it here. Don't post an image because it is useless for us, pack and upload the illustro config (from the Skins folder).
zBobo
Posts: 12
Joined: November 16th, 2019, 5:07 pm

Re: Change wallpaper when music starts

Post by zBobo »

Ok, I'll try as soon as possible
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change wallpaper when music starts

Post by balala »

zBobo wrote: November 19th, 2019, 6:30 am Ok, I'll try as soon as possible
OK, let me know if you succeed.
zBobo
Posts: 12
Joined: November 16th, 2019, 5:07 pm

Re: Change wallpaper when music starts

Post by zBobo »

ok,i don't see any animation also with the fix. what do i have to send you?
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Change wallpaper when music starts

Post by balala »

zBobo wrote: November 20th, 2019, 3:34 pm what do i have to send you?
Please pack the whole illustro config you have in the Skins folder and upload the package.