It is currently April 28th, 2024, 5:23 am
Get help with creating, editing & fixing problems with skins
pclman
Posts: 4 Joined: September 27th, 2012, 1:06 am
Post
by pclman » October 3rd, 2012, 2:01 am
I am trying to make a bar that shows the progress through the day, updated every minute. The code I had worked beautifully until 5:00 PM this afternoon. After messing with my time and date settings I noticed it doesn't work (displays bar as full) while the hour is 2, 3, or 7 AM or 5 or 12 PM. The highly specific nature of these problems makes me think I am missing something minor. If anyone could help me out, that would be fantastic.
Code: Select all
[Rainmeter]
Update=1000
[MeasureHour]
Measure=Time
Format=%H
Substitute="01":"60","02":"120","03":"180","04":"240","05":"300","06":"360","07":"420","08":"480","09":"540","10":"600","11":"660","12":"720","13":"780","14":"840","15":"900","16":"960","17":"1020","18":"1080","19":"1140","20":"1200","21":"1260","22":"1320","23":"1380"
[MeasureMinute]
Measure=Time
Format=%M
[Calculate]
Measure=Calc
Formula=[MeasureHour]+[MeasureMinute]
MaxValue=1439
DynamicVariables=1
[MeterProgressBar]
Meter=BAR
MeasureName=Calculate
X=13
Y=21
BarImage=Bar3.png
BarOrientation=Horizontal
smurfier
Moderator
Posts: 1931 Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN
Post
by smurfier » October 3rd, 2012, 2:30 am
Try this:
Code: Select all
[Rainmeter]
Update=1000
[MeasureTime]
Measure=Time
Format=(%#H*60)+%#M
[Calculate]
Measure=Calc
Formula=[MeasureTime]
MaxValue=1440
DynamicVariables=1
[MeterProgressBar]
Meter=BAR
MeasureName=Calculate
X=13
Y=21
BarImage=Bar3.png
BarOrientation=Horizontal
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 . . .
pclman
Posts: 4 Joined: September 27th, 2012, 1:06 am
Post
by pclman » October 3rd, 2012, 2:52 am
Thanks, that's perfect
Naruto
Posts: 47 Joined: December 8th, 2012, 8:05 pm
Location: Egypt
Post
by Naruto » December 13th, 2012, 4:20 pm
smurfier wrote: Try this:
Code: Select all
[Rainmeter]
Update=1000
[MeasureTime]
Measure=Time
Format=(%#H*60)+%#M
[Calculate]
Measure=Calc
Formula=[MeasureTime]
MaxValue=1440
DynamicVariables=1
[MeterProgressBar]
Meter=BAR
MeasureName=Calculate
X=13
Y=21
BarImage=Bar3.png
BarOrientation=Horizontal
I don't know but this didn't work with me, so what to do ?
moshi
Posts: 1740 Joined: November 13th, 2012, 9:53 pm
Post
by moshi » December 13th, 2012, 7:41 pm
have a look here to see how a bar meter works:
http://docs.rainmeter.net/manual/meters/bar
you probably do not have an image in the skin's folder.
Naruto
Posts: 47 Joined: December 8th, 2012, 8:05 pm
Location: Egypt
Post
by Naruto » December 13th, 2012, 9:36 pm
but i delete the line of the picture but still not working so i asked !!!
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » December 13th, 2012, 9:39 pm
Naruto wrote:
but i delete the line of the picture but still not working so i asked !!!
Without the image line it will require the W and H settings to set the width and height, or it will be a singularity.
Naruto
Posts: 47 Joined: December 8th, 2012, 8:05 pm
Location: Egypt
Post
by Naruto » December 14th, 2012, 10:59 am
jsmorley wrote:
Without the image line it will require the W and H settings to set the width and height, or it will be a singularity.
oh yah that was right
, sorry