It is currently May 3rd, 2024, 9:02 am

Help Skin not updating

Get help with creating, editing & fixing problems with skins
lvlagician
Posts: 1
Joined: October 9th, 2012, 9:40 pm

Help Skin not updating

Post by lvlagician »

Hello,

Sorry if this seems a simple question but my modified skin is not updating every 1 second as per update=1000, from below is there something im missing that is preventing the skin from updating? It updates if i do a manual refresh but only then.

Code: Select all

[Rainmeter]
Update=1000

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]

Path=FileListPlugin.dll
Documents=E:\Downloads

[PathDocuments]
Measure=Plugin
Plugin=#Path#
Field=FolderPath
WildcardSearch=*.rar;*.par2;*.nfo;*.sfv
FolderIndex=2
Path=#Documents#
Recursive=1

[FolderSizeDocuments]
Measure=Plugin
Plugin=#Path#
Field=FolderSizeStr
FolderIndex=2
Format=Dynamic

[FileCountDocuments]
Measure=Plugin
Plugin=#Path#
Field=FileCountStr
FolderIndex=2

[FolderCountDocuments]
Measure=Plugin
Plugin=#Path#
Field=FolderCountStr
FolderIndex=2

[Line2]
Meter=IMAGE
X=95
Y=-3
ImageName=Line.png

[IconDocuments]
Meter=IMAGE
X=160
Y=7
ImageName=Documents.png
LeftMouseDownAction=!Execute ["#Documents#"]

[Text2]
Meter=STRING
X=100
Y=5
FontColor=255, 255, 255, 255
StringStyle=Bold
Fontsize=8
StringAlign=Left
Fontface=Helvetica
StringEffect=SHADOW
FontEffectColor=0,0,0,80
Text="Downloads"
AntiAlias=1

[Items2]
Meter=STRING
MeasureName=FileCountDocuments
X=r
Y=16r
FontColor=255, 255, 255, 240
StringStyle=Bold
Fontsize=7
StringAlign=Left
Fontface=Helvetica
StringEffect=SHADOW
FontEffectColor=0,0,0,30
AntiAlias=1
Text="%1 items"

[Size2]
Meter=STRING
MeasureName=FolderSizeDocuments
X=r
Y=12r
FontColor=255, 255, 255, 240
StringStyle=Bold
Fontsize=7
StringAlign=Left
Fontface=Helvetica
StringEffect=SHADOW
FontEffectColor=0,0,0,30
AntiAlias=1
Text="Size: %1B"
Last edited by Brian on October 9th, 2012, 9:50 pm, edited 1 time in total.
Reason: Use [code] tags.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help Skin not updating

Post by eclectic-tech »

Your skin crashed my rainmeter on refresh... :-(

To get it to operate I changed the FolderIndex to "0" on all the measures: FolderIndex=0

Then to get it to update, you can add a counter to refresh the skin:

Code: Select all

[Counter1]
Measure=Calc
Formula=Counter%10
IfEqualValue=9
IfEqualAction=!Refresh
Will refreshes every 10 seconds...
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Help Skin not updating

Post by smurfier »

The FileListPlugin has been known to crash Rainmeter as it can take more than one update cycle to index the files.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help Skin not updating

Post by eclectic-tech »

smurfier wrote:The FileListPlugin has been known to crash Rainmeter as it can take more than one update cycle to index the files.
Yeah, I am aware of that, my "test folder" had 4.2 gig in it! :o That's time-consuming...

Getting rainmeter back was a simple edit of the rainmeter.ini, removed the reference to FileListPlugin, and restarting... I increased the rainmeter update to 100000 and looked into getting the skin working.

Drive info does not change that quickly, so if you remember to set a high update in rainmeter, the plugin is fairly stable...