It is currently May 4th, 2024, 9:10 am

cant get my wallpaper changer to work properly

Get help with creating, editing & fixing problems with skins
galron
Posts: 5
Joined: September 21st, 2010, 6:58 am

cant get my wallpaper changer to work properly

Post by galron »

I can't get the toggle section of this skin to work.. it will enable and disable the measure but the meters wont hide.
I imagine it is something obvious but i cant see it. Any constructive input is greatly appreciated.

Code: Select all

[Rainmeter]
Update=180000

;===================================================

[Variables]
ImagePath=C:\Users\[color=#0000FF](Username)[/color]\Pictures\Wallpapers
ALIGNMENT=1
Autosize=0
SubFolders=1
FileFilters=*.jpg;*.jpeg;*.png;*.bmp;*.gif

;===================================================
;Measures
;===================================================

[GrabImage]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#ImagePath#
FileFilter=#FileFilters#
Subfolders=#SubFolders#
Group=Measures

;===================================================
;Meters
;===================================================

[WallpaperDisplay]
MeasureName=GrabImage
Meter=IMAGE
x=13
Y=11
W=374
H=190
PreserveAspectRatio=#Autosize#
LeftMouseUpAction=!execute ["#SKINSPATH#\Wallpaper2\CLWCP.exe" "[GrabImage]"]
Group=Wallpaper

;===================Background======================

[Background]
Meter=IMAGE
X=0
Y=0
ImageName=Back1.png
Group=Wallpaper

;===================Reflection======================

[Reflect]
Meter=IMAGE
ImageName=Back2.png
Group=Wallpaper

;====================Buttons========================

[Refresh]
Meter=Image
ImageName=Refresh.png
x=10
y=10
h=48
w=48
LeftMouseUpAction=!RainmeterRefresh
Group=Wallpaper

;===================Toggle Skin====================== 

[ShowHideWallpaper]
Meter=Image
ImageName=refresh.png
Y=10
X=390
W=80
H=80
LeftMouseUpAction=[!DisableMeasure "GrabImage"] [!HideMeterGroup "Wallpaper"]
RightMouseUpAction=[!ShowMeterGroup "Wallpaper"] [!EnableMeasure "GrabImage"]
Group=Toggle


Edit.

derrrr. i figured it out. My update was set to 180 sec ..... so the skin didn't redraw (and thus go hidden)... now I need to figure out how to keep the 1000ms update time and prevent my wallpaper images from flickering right on by. Ah well back to reading the manual heh.
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: cant get my wallpaper changer to work properly

Post by Kaelri »

galron wrote:now I need to figure out how to keep the 1000ms update time and prevent my wallpaper images from flickering right on by. Ah well back to reading the manual heh.
Setting an UpdateDivider on the Quote measure is probably what you want.

(Also, you may want to know that Rainmeter now has a built-in !SetWallpaper bang, so you don't need that separate executable anymore.)
galron
Posts: 5
Joined: September 21st, 2010, 6:58 am

Sweet.

Post by galron »

Thanks Kaelri. That was the cure..