It is currently May 17th, 2022, 11:41 am

calculator skin in rainmeter possible?

General topics related to Rainmeter.
Aarowaim
Posts: 97
Joined: July 25th, 2010, 7:23 am

Re: calculator skin in rainmeter possible?

Post by Aarowaim »

Without further ado, the partially completed calculator (without any advanced functions)! I can't make the Button Measures to change the #Fac1# variables according to FacPos (FactorPosition) because
[Variables]
FacPos=#Fac1# <--- this is equal to factor1's value rather than the word #Fac1#.
I'm trying to make it so that clicking the Operation symbol switches this variable to #Fac2# and then Clicking the number buttons afterwards will change the OpPos to Op2 (Not #Op2#) and so on. Anyway, it can calculate 15+0+0+0=15. Check the Button Measures for how I got multiple numbers and please, if you see any mistakes or have anyways to fix it, do not hesitate to say something. If you have any questions, also feel free to ask or even pm me.

Code: Select all

[Rainmeter]
Author=Chewtoy, Aarowaim, JlsCrazy
Update=500
BackgroundMode=2
SolidColor=128,196,255,255
DynamicVariables=1
DynamicWindowSize=1

;>>>>>>>>>>>>>>>>>>>>Variables<<<<<<<<<<<<<<<<<<<<

[Variables]
FontColor=0,0,0,255
FontFace=Tahoma

;>>>>>Factors<<<<<

FacPos=Fac1
FacActHalf1=!Execute [!RainmeterSetVariable #FacPos# (
FacActHalf2=)][!RainmeterRedraw]
FacActAlt1=)][!RainmeterSetVariable OpActHalf2 [!RainmeterRedraw]
Fac1=0
Fac2=0
Fac3=0
Fac4=0

;>>>>>Operations<<<<<

OpPos=Op1
OpActHalf1=!Execute [!RainmeterSetVariable Op1 "
OpActHalf2="][!RainmeterSetVariable FacActHalf2 #FacActAlt1#][!RainmeterSetVariable FacPos Fac2][!RainmeterRedraw]
Op1=+
Op2=+
Op3=+

;>>>>>>>>>>>>>>>>>>>>Display<<<<<<<<<<<<<<<<<<<<

;>>>>>Equation<<<<<

[DisEq]
Meter=String 
Text=#Fac1##Op1##Fac2##Op2##Fac3##Op3##Fac4#
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
DynamicVariables=1
X=4
Y=4

;>>>>>Result<<<<<

[Result]
Measure=Calc
Formula=#Fac1##Op1##Fac2##Op2##Fac3##Op3##Fac4#
DynamicVariables=1

;>>>>>Buttons<<<<<

[1]
Meter=String
Text=[1]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=0r
Y=20r
LeftMouseUpAction=#FacActHalf1#[1Measure]#FacActHalf2#

[2]
Meter=String
Text=[2]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[2Measure]#FacActHalf2#

[3]
Meter=String
Text=[3]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[3Measure]#FacActHalf2#

[+]
Meter=String
Text=[+]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#+#OpActHalf2#

[-]
Meter=String
Text=[-]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#-#OpActHalf2#

[4]
Meter=String
Text=[4]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-80r
Y=20r
LeftMouseUpAction=#FacActHalf1#[4Measure]#FacActHalf2#

[5]
Meter=String
Text=[5]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[5Measure]#FacActHalf2#

[6]
Meter=String
Text=[6]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[6Measure]#FacActHalf2#

[*]
Meter=String
Text=[*]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#*#OpActHalf2#

[/]
Meter=String
Text=[/]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#/#OpActHalf2#

[7]
Meter=String
Text=[7]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-80r
Y=20r
LeftMouseUpAction=#FacActHalf1#[7Measure]#FacActHalf2#

[8]
Meter=String
Text=[8]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[8Measure]#FacActHalf2#

[9]
Meter=String
Text=[9]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[9Measure]#FacActHalf2#

[=]
Meter=String
Text=[=]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseDownAction=!Execute [!RainmeterSetVariable Fac1 [Result]]
LeftMouseUpAction=!Execute [!RainmeterSetVariable Fac2 0][!RainmeterSetVariable Fac3 0][!RainmeterSetVariable Fac4 0][!RainmeterSetVariable Op1 +][!RainmeterSetVariable Op2 +][!RainmeterSetVariable Op1 +]

[0]
Meter=String
Text=[0]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-60r
Y=20r
LeftMouseUpAction=#FacActHalf1#[0Measure]#FacActHalf2#

[Clear]
Meter=String
Text=[Clear]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=!Execute [!RainmeterSetVariable Fac1 0][!RainmeterSetVariable Fac2 0][!RainmeterSetVariable Fac3 0][!RainmeterSetVariable Fac4 0][!RainmeterSetVariable Op1 +][!RainmeterSetVariable Op2 +][!RainmeterSetVariable Op1 +]

;>>>>>>>>>>>>>>>>>>>>Button Calcs<<<<<<<<<<<<<<<<<<<<

[1Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+1 : 1)
DynamicVariables=1

[2Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+2 : 2)
DynamicVariables=1

[3Measure]
Measure=Calc 
Formula=#Fac1# > 0 ? (#Fac1#*10)+3 : 3
DynamicVariables=1

[4Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+4 : 4)
DynamicVariables=1

[5Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+5 : 5)
DynamicVariables=1

[6Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+6 : 6)
DynamicVariables=1

[7Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+7 : 7)
DynamicVariables=1

[8Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+8 : 8)
DynamicVariables=1

[9Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+9 : 9)
DynamicVariables=1

[0Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+0 : 0)
DynamicVariables=1
Last edited by Chewtoy on August 12th, 2010, 5:39 pm, edited 2 times in total.
Reason: Use [code] tages when posting code.
Away for a while :(
Programming isn't a hobby, it's a lifestyle choice.
[url=http://www.rainmeter.net/forum/viewtopic.php?f=83&t=1207][b]T34M V.1.5.0.|2[/b][/url] <----I'ts l33t, look it up

Coding Skills: [color=#00FFFF]4.5[/color]
Answering Skills: [color=#00FFFF]4[/color]
Image Editing: [color=#00FFFF]3[/color]
Knowledge: [color=#00FFFF]4.5[/color]
Technical Skills: [color=#00FFFF]3[/color]
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: calculator skin in rainmeter possible?

Post by JpsCrazy »

Aarowaim wrote:*Mine will not function unless a way is devised to get around a variable related limitation, although you can still tell that the multiple number mode works.
The 16 digit number problem?
You could most likely set up a condition, like every number = 1, and if the sum of all those is 16+ then it prevents the user from adding more digits.


Can't wait to see how you did multiple values.
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: calculator skin in rainmeter possible?

Post by JpsCrazy »

Few things. JpsCrazy. *Ahem*
You never have the results shown on your calc. xD Add =[Result] to [DisEq].
Use

Code: Select all

 tags, even if in [spoiler].

And for the FacPos here's a way to fix it. Instead of Fac1,2,3 etc,just make it 0, 1, 2. 
Make a calc, Formula=#FacPos#. Then, IfStatements to change it from the first factor, to second, to third.(Sadly this method only works for three unless you have a string of calcs. You could make it so the IfAboveStatement disables that calc and enables another which would then be able to handle it, or enable another one that can, etc.)



Won't lie - I'm completely in the dark about the mulitple digit number thing. I'll try to figure it out though, aha.
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: calculator skin in rainmeter possible?

Post by JpsCrazy »

I can't believe I didn't notice this before. O.O
(Sorry for triple posting, but in case he read the last one and not this)

If you just replace all the #FacActHalf1# with !Execute [!RainmeterSetVariable #FacPos# ( it'll work like a charm. That's because DynamicVariables don't work within the [Variables] section. I guess I just never thought of a repeptitive !Bang being a variable and it threw me off.
Aarowaim
Posts: 97
Joined: July 25th, 2010, 7:23 am

Re: calculator skin in rainmeter possible?

Post by Aarowaim »

Before I fix this, I'll enlighten you on my technique for multiple digits.

Code: Select all

[2Measure]
Measure=Calc 
Formula=(#Fac1# > 0 ? (#Fac1#*10)+2 : 2)
DynamicVariables=1
Up here is the secret to multiple numbers.
The formula I used is a logical operation that says if #Fac1# is higher than 0 (meaning numbers have been entered), then it multiplys #Fac1# By 10 and adds the number from that button to the result. so if you have 1 already entered and you click 2, it multiplies 1x10=10+2=12, the equivalent of placing a one and then a 2. If your wondering about that lonely 2 at the end, he simply says that if #Fac1# is not higher than 0, then just change the variable to 2.

P.S
I'll try your idea to fix my FactorPosition problem and I will make a "display result" part at the end of the equation.
Away for a while :(
Programming isn't a hobby, it's a lifestyle choice.
[url=http://www.rainmeter.net/forum/viewtopic.php?f=83&t=1207][b]T34M V.1.5.0.|2[/b][/url] <----I'ts l33t, look it up

Coding Skills: [color=#00FFFF]4.5[/color]
Answering Skills: [color=#00FFFF]4[/color]
Image Editing: [color=#00FFFF]3[/color]
Knowledge: [color=#00FFFF]4.5[/color]
Technical Skills: [color=#00FFFF]3[/color]
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: calculator skin in rainmeter possible?

Post by JpsCrazy »

God that's smart. O.O
Never would've thought of it, and that definately confused me at first. Aha.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: calculator skin in rainmeter possible?

Post by Chewtoy »

Now with some copy and pasting - it is fully working.
Just need the copy of that do be able to input the other factor, and then we got ourselves a fully functional calculator.
...It seems that way at least.
I don't think, therefore I'm not.
Aarowaim
Posts: 97
Joined: July 25th, 2010, 7:23 am

Re: calculator skin in rainmeter possible?

Post by Aarowaim »

Hmmmm, by adding a seperate [1] meter rigged so it should work, I got this result by clicking it rather than the default 0
ScreenShot001.png

Code: Select all

[01]
Meter=String
Text=[1]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=!Execute [!RainmeterSetVariable Fac2 ([01Measure])][!RainmeterRedraw]

;>>>>>>>>>>>>>>>>>>>>Button Calcs<<<<<<<<<<<<<<<<<<<<

[01Measure]
Measure=Calc 
Formula=(#FacPos2# > 0 ? (#FacPos2#*10)+1 : 1)
DynamicVariables=1
;>>>>>Factors<<<<<

FacPos2=#Fac2#
NOTE: As this proves, I cannot put the name of a variable in because it returns the value of the variable back. If there was a way to make it read the name of the variable rather than the value e.g If you put the variable in quotations, it would solve the problem completely with the calculator. I have at very least found the faulty spot. I did try to do the bangs rather than bang variables, but it did not change anything. also, I know that the calculator can work due to me replacing 0 in Fac2 with 10 and trying equations.
You do not have the required permissions to view the files attached to this post.
Away for a while :(
Programming isn't a hobby, it's a lifestyle choice.
[url=http://www.rainmeter.net/forum/viewtopic.php?f=83&t=1207][b]T34M V.1.5.0.|2[/b][/url] <----I'ts l33t, look it up

Coding Skills: [color=#00FFFF]4.5[/color]
Answering Skills: [color=#00FFFF]4[/color]
Image Editing: [color=#00FFFF]3[/color]
Knowledge: [color=#00FFFF]4.5[/color]
Technical Skills: [color=#00FFFF]3[/color]
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: calculator skin in rainmeter possible?

Post by Chewtoy »

If you enclose the variables being set in quotation marks it will write the variable rather than the value of the variable.
!RainmeterSetVariable AVariable "#NewThingy#"
!RainmeterSetVariable AVariable "[AMeasure]"
I don't think, therefore I'm not.
Aarowaim
Posts: 97
Joined: July 25th, 2010, 7:23 am

Re: calculator skin in rainmeter possible?

Post by Aarowaim »

The whole problem seems to be in how I made it to go to the next part of the equation, I'll either have to adopt JpsCrazy's hide/show group and make the ini about 4 times longer, or I'll have to take the important parts of the skin and try to rework the change entry position system. I know this because of the information below. It may be as JpsCrazy mentioned that dynamic variables will not work in the variables section although it only seems to apply when you use a variable containing numbers in a variable.
When you replace the settings with the ones in red beside them, it enters one into the second spot:
[Rainmeter]
Author=Aarowaim
Update=500
BackgroundMode=2
SolidColor=128,196,255,255
DynamicVariables=1
DynamicWindowSize=1

;>>>>>>>>>>>>>>>>>>>>Variables<<<<<<<<<<<<<<<<<<<<

[Variables]
FontColor=0,0,0,255
FontFace=Tahoma

;>>>>>Factors<<<<<

FacPosVar=#Fac1#
FacPos=Fac1 Fac2
FacActHalf1=!Execute [!RainmeterSetVariable #FacPos# (
FacActHalf2=)][!RainmeterSetVariable OpActHalf2 #OpActAlt1#][!RainmeterSetVariable OpPos Op2][!RainmeterRedraw]
FacActAlt1=)][!RainmeterSetVariable OpActHalf2 #OpActAlt2#][!RainmeterSetVariable OpPos Op3][!RainmeterRedraw]
Fac1=0
Fac2=0
Fac3=0
Fac4=0

;>>>>>Operations<<<<<

OpPos=Op1
OpActHalf1=!Execute [!RainmeterSetVariable #OpPos# "
OpActHalf2="][!RainmeterSetVariable FacActHalf2 #FacActAlt1#][!RainmeterSetVariable FacPos Fac2][!RainmeterSetVariable FacPosVar #Fac2#][!RainmeterRedraw]
OpActAlt1="][!RainmeterSetVariable FacActHalf2 #FacActAlt2#][!RainmeterSetVariable FacPos Fac3][!RainmeterSetVariable FacPosVar #Fac3#][!RainmeterRedraw]
OpActAlt2="][!RainmeterSetVariable FacActHalf2 #FacActAlt3#][!RainmeterSetVariable FacPos Fac4][!RainmeterSetVariable FacPosVar #Fac4#][!RainmeterRedraw]
Op1=+
Op2=+
Op3=+

;>>>>>>>>>>>>>>>>>>>>Display<<<<<<<<<<<<<<<<<<<<

;>>>>>Equation<<<<<

[DisEq]
Meter=String
Text=#Fac1##Op1##Fac2##Op2##Fac3##Op3##Fac4#=[Result]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
DynamicVariables=1
X=4
Y=4

;>>>>>Result<<<<<

[Result]
Measure=Calc
Formula=#Fac1##Op1##Fac2##Op2##Fac3##Op3##Fac4#
DynamicVariables=1

;>>>>>Buttons<<<<<

[1]
Meter=String
MeasureName=1Measure
Text=[1]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=0r
Y=20r
LeftMouseUpAction=#FacActHalf1#[1Measure]#FacActHalf2#
DynamicVariables=1

[2]
Meter=String
Text=[2]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[2Measure]#FacActHalf2#

[3]
Meter=String
Text=[3]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[3Measure]#FacActHalf2#

[+]
Meter=String
Text=[+]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
DynamicVariables=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#+#OpActHalf2#

[-]
Meter=String
Text=[-]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#-#OpActHalf2#

[4]
Meter=String
Text=[4]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-80r
Y=20r
LeftMouseUpAction=#FacActHalf1#[4Measure]#FacActHalf2#

[5]
Meter=String
Text=[5]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[5Measure]#FacActHalf2#

[6]
Meter=String
Text=[6]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[6Measure]#FacActHalf2#

[*]
Meter=String
Text=[*]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#*#OpActHalf2#

[/]
Meter=String
Text=[/]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#OpActHalf1#/#OpActHalf2#

[7]
Meter=String
Text=[7]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-80r
Y=20r
LeftMouseUpAction=#FacActHalf1#[7Measure]#FacActHalf2#

[8]
Meter=String
Text=[8]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[8Measure]#FacActHalf2#

[9]
Meter=String
Text=[9]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=#FacActHalf1#[9Measure]#FacActHalf2#

[=]
Meter=String
Text=[=]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseDownAction=!Execute [!RainmeterSetVariable Fac1 [Result]]
LeftMouseUpAction=!Execute [!RainmeterSetVariable Fac2 0][!RainmeterSetVariable Fac3 0][!RainmeterSetVariable Fac4 0][!RainmeterSetVariable Op1 +][!RainmeterSetVariable Op2 +][!RainmeterSetVariable Op1 +]

[0]
Meter=String
Text=[0]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=-60r
Y=20r
LeftMouseUpAction=#FacActHalf1#[0Measure]#FacActHalf2#

[Clear]
Meter=String
Text=[Clear]
FontFace=#FontFace#
FontColor=#FontColor#
AntiAlias=1
SolidColor=128,196,255,255
X=20r
Y=0r
LeftMouseUpAction=!RainmeterRefresh

;>>>>>>>>>>>>>>>>>>>>Button Calcs<<<<<<<<<<<<<<<<<<<<

[1Measure]
Measure=Calc
;>>>>>>>>this variable is the problem
Formula=(#FacPosVar##Fac2# > 0 ? (#FacPosVar##Fac2#*10)+1 : 1)
DynamicVariables=1

[2Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+2 : 2)
DynamicVariables=1

[3Measure]
Measure=Calc
Formula=#Fac1# > 0 ? (#Fac1#*10)+3 : 3
DynamicVariables=1

[4Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+4 : 4)
DynamicVariables=1

[5Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+5 : 5)
DynamicVariables=1

[6Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+6 : 6)
DynamicVariables=1

[7Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+7 : 7)
DynamicVariables=1

[8Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+8 : 8)
DynamicVariables=1

[9Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+9 : 9)
DynamicVariables=1

[0Measure]
Measure=Calc
Formula=(#Fac1# > 0 ? (#Fac1#*10)+0 : 0)
DynamicVariables=1
NOTE: 1Measure has the variable that will not work. replacing it with #Fac1#, #Fac2# and so on does fix it
Last edited by Aarowaim on August 14th, 2010, 5:34 pm, edited 2 times in total.
Away for a while :(
Programming isn't a hobby, it's a lifestyle choice.
[url=http://www.rainmeter.net/forum/viewtopic.php?f=83&t=1207][b]T34M V.1.5.0.|2[/b][/url] <----I'ts l33t, look it up

Coding Skills: [color=#00FFFF]4.5[/color]
Answering Skills: [color=#00FFFF]4[/color]
Image Editing: [color=#00FFFF]3[/color]
Knowledge: [color=#00FFFF]4.5[/color]
Technical Skills: [color=#00FFFF]3[/color]