It is currently April 27th, 2024, 7:44 pm

IfEqualValue Not Working?

Get help with creating, editing & fixing problems with skins
MrJackFrost
Posts: 18
Joined: May 25th, 2012, 8:41 pm

IfEqualValue Not Working?

Post by MrJackFrost »

Hey All,

Not new to programming but I am new to Rainmeter. This seems pretty straightforward but it doesn't seem to be working. Any ideas/clues as to what's going wrong?

[MeasureSeconds]
Measure=Time
Format=%S
IfEqualValue=30
IfEqualAction=[!HideMeter MeterFalse][!ShowMeter MeterTrue]

[MeterFalse]
Meter=String
MeasureName=MeasureSeconds
X=0
Y=0
AntiAlias=1
FontColor=255,255,255,255
Text=SECONDS: %1
Hidden=0

[MeterTrue]
Meter=String
X=0
Y=15
AntiAlias=1
FontColor=255,255,255,255
Text=IT IS THE 30TH SECOND
Hidden=1

If it's the 30th second it should display the second meter and hide the first meter...

Thanks in advance for your help.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: IfEqualValue Not Working?

Post by jsmorley »

Your code works fine for me. Be sure you are running the latest 2.3 beta from http://rainmeter.net, as the code you are using requires it.
MrJackFrost
Posts: 18
Joined: May 25th, 2012, 8:41 pm

Re: IfEqualValue Not Working?

Post by MrJackFrost »

Yup, running 2.3. Just remote connected to my computer at home and it works there. It must be the POS I'm using at work ;). Thanks for such a cool application, keep up the good work, and sorry for the useless post.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: IfEqualValue Not Working?

Post by jsmorley »

MrJackFrost wrote:Yup, running 2.3. Just remote connected to my computer at home and it works there. It must be the POS I'm using at work ;). Thanks for such a cool application, keep up the good work, and sorry for the useless post.
That is strange. You might open the Log / Skins tab from "Manage" and see what is being returned by that Time measure. Maybe you have some "locale" set in Windows on your work machine that is returning the time in Klingon or something.
MrJackFrost
Posts: 18
Joined: May 25th, 2012, 8:41 pm

Re: IfEqualValue Not Working?

Post by MrJackFrost »

I would never have thought to check that, but that's exactly what the issue was. Thanks a lot!