I'm trying to make a recycle bin skin but it wont work and i don't know why.
[Rainmeter]
Update=1000
[Measure]
Measure=RecycleManager
RecycleType=Count
Drives=all
DynamicVariables=1
IfCondition=Measure > 0
IfTrueAction=[!SetOption MeterBin ImageName "#@#Images\recyclebin.png"][!Redraw]
IfFalseAction=[!SetOption MeterBin ImageName "#@#Images\recyclebinfull.png"][!Redraw]
[MeterBin]
Meter=Image
ImageName=#@#Images\recyclebin.png
W=90
H=90
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure MeterBin OpenBin]
RightMouseUpAction=[!CommandMeasure MeterBin EmptyBin]
It is currently March 28th, 2024, 4:28 pm
Recycle bin
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle bin
What do you mean when you say it doesn't work?
Re: Recycle bin
nothing happens when i click on it
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle bin
The trouble that I see is that you are telling it to use the "empty" image when it is full and the "full" image when it is empty.
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle bin
Well you are sending the !CommandMeasure to the measure "MeterBin", which is the name of the meter, not the measure you are looking to control.Ace_323 wrote:nothing happens when i click on it
You need to send the !CommandMeasure to the measure "Measure".
P.S. Up to you, but I'm never fond of the Major Major style of naming. I wouldn't name a measure "Measure" and I wouldn't name a meter "Meter"...
Re: Recycle bin
-null-
Last edited by Ace_323 on February 9th, 2018, 10:51 pm, edited 1 time in total.
Re: Recycle bin
it works now thank you
Re: Recycle bin
this is the first skin ive ever "made" so i dont know all the ins and outs but im learning
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle bin
Ace_323 wrote:ok thats fixed but it still doesn't do anything when i click on it
Code: Select all
[Rainmeter]
Update=1000
[MeasureBin]
Measure=RecycleManager
RecycleType=Count
Drives=all
DynamicVariables=1
IfCondition=MeasureBin = 0
IfTrueAction=[!SetOption MeterBin ImageName "#@#Images\recyclebin.png"][!UpdateMeter MeterBin][!Redraw]
IfFalseAction=[!SetOption MeterBin ImageName "#@#Images\recyclebinfull.png"][!UpdateMeter MeterBin][!Redraw]
[MeterBin]
Meter=Image
ImageName=#@#Images\recyclebin.png
W=90
H=90
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure MeasureBin "OpenBin"]
RightMouseUpAction=[!CommandMeasure MeasureBin "EmptyBin"]
- jsmorley
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Recycle bin
Not to worry, we are glad to help. You will be an expert in no time.Ace_323 wrote:this is the first skin ive ever "made" so i dont know all the ins and outs but im learning