It is currently May 5th, 2024, 6:30 am
Get help with creating, editing & fixing problems with skins
NickP
Posts: 6 Joined: December 18th, 2010, 1:16 am
Post
by NickP » December 18th, 2010, 5:23 am
I have a similar problem to the one in my previous post, i want to be able to move the numbers individually in the following (sign and percent sign are already movable):
Code: Select all
[Rainmeter]
BackgroundMode=0
DynamicWindowSize=1
Update=10000
==VARIABLES==
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=
;End of added Metadata
[Variables]
Color=85,65,43
Font=Century Gothic
==MEASURES==
[MeasureMains]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=ACLINE
Substitute="1":"+","0":"–"
[MeasurePercent]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT
==METERS==
[MeterMains]
Meter=String
MeasureName=MeasureMains
y=10
FontColor=#Color#
FontFace=#Font#
FontSize=12
AntiAlias=1
Text=%1
[MeterPercent]
Meter=String
MeasureName=MeasurePercent
X=7
Y=0
FontColor=#Color#
FontFace=#Font#
FontSize=20
AntiAlias=1
Text=%1
StringStyle=Bold
==DECORATION==
[DecorationSign]
Meter=String
X=56
y=10
FontColor=#Color#
FontFace=#Font#
FontSize=12
AntiAlias=1
Text=%
Chewtoy
Moderator
Posts: 995 Joined: June 10th, 2009, 12:44 pm
Location: Sweden
Post
by Chewtoy » December 18th, 2010, 7:02 am
Just use the same TRUNC and FRAC trick that you got in this thread:
http://forum.rainmeter.net/viewtopic.php?f=15&t=6303
I don't think, therefore I'm not.
NickP
Posts: 6 Joined: December 18th, 2010, 1:16 am
Post
by NickP » December 18th, 2010, 8:21 pm
Ok, as i said im new at this, but ill just mess around with it until i figure it out, thanks.
NickP
Posts: 6 Joined: December 18th, 2010, 1:16 am
Post
by NickP » December 18th, 2010, 9:19 pm
Ive been fooling with it for a while but cant get them all movable, ive only been able to get the last digit to move, heres the code:
Code: Select all
[Variables]
Color=85,65,43
Font=Century Gothic
==MEASURES==
[MeasureMains]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=ACLINE
Substitute="1":"+","0":"–"
[MeasurePercent]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=Percent
[PercentDigit1]
Measure=Calc
Formula=TRUNC(MeasurePercent/10)
[PercentDigit2]
Measure=Calc
Formula=FRAC(MeasurePercent/10)*10
==METERS==
[MeterPercent1]
MeasureName=PercentDigit1
Meter=String
FontColor=#Color#
FontFace=#Font#
FontSize=20
AntiAlias=1
Text=%1
StringStyle=Bold
x=0R
[MeterPercent2]
MeasureName=PercentDigit2
Meter=STRING
FontColor=#Color#
FontFace=#Font#
FontSize=20
AntiAlias=1
Text=%1
StringStyle=Bold
x=8R
==DECORATION==
[DecorationSign]
Meter=String
X=56
y=10
FontColor=#Color#
FontFace=#Font#
FontSize=16
AntiAlias=1
StringStyle=Bold
Text=%