哎哟!不錯 发表于 2012-1-9 22:16:15

修改了一个 1920 的日历,可正常使用但是 有运行错误 求修正

本帖最后由 哎哟!不錯 于 2012-1-9 22:24 编辑


DBank网盘附件:
【DBank网盘】 Blackline Calendar.ini (5.62K)
http://dl.dbank.com/c0nce6yyeh
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,0

;
;Meter=IMAGE
;X=0
;Y=-2
;H=80
;ImageName=back.png


Measure=Calc
Formula=FLOOR(#SCREENAREAWIDTH#/mDayCount)


Meter=IMAGE
SolidColor=0,0,0
W=#SCREENAREAWIDTH#
H=25


Name=Blackline Calendar
Config=
Description=
Instructions=
Version=
Tags=
License=Only for personal use
Variant=


MainText=255,255,255,255
CurrentText=ff0000
IndicatorWidth=50
IndicatorHeight=0
IndicatorColorTop=255,255,255,0
IndicatorColorBot=255,255,255,0
TextY=1
;Set to 1 to display both top and bottom rounded portions, 2 to show only the top, and 3 to show only the bottom.
Indicator=1
;Set to 1 to dynamically center on the screen. Note that this moves the whole skin.
Center=1


Measure=Calc
Formula=#Center#*(Move+1)
IfAboveValue=10
IfAboveAction=!RainmeterToggleMeasureGroup Move
Group=Move


Measure=Calc
Formula=(#SCREENAREAWIDTH#-#CURRENTCONFIGWIDTH#)/2
IfAboveValue=0
IfAboveAction=!RainmeterMove #CURRENTCONFIGY#
DynamicVariables=1
Disabled=1
Group=Move


Measure=Calc
Formula=#CURRENTCONFIGWIDTH#
DynamicVariables=1


FontFace=Eurostile LT
FontSize=14
FontColor=#MainText#
AntiAlias=1
H=20
W=10
StringAlign=Center
X=r
DynamicVariables=1
Y=(#TextY#+(#Indicator#<3)*2)


;Retreve year with century
Measure=TIME
Format=%Y


;Gets current month without leading zero. ex: 8
Measure=TIME
Format=%#m


;Gets current day without leading zero. ex 8
Measure=TIME
Format=%#d


Measure=CALC
Formula=((mMonth=1)||(mMonth=12)||(mMonth=8)||(mMonth=7)||(mMonth=5)||(mMonth=3)||(mMonth=10))*31+(mMonth=2)*(28+((mYear%4)=0))+((mMonth=4)||(mMonth=6)||(mMonth=9)||(mMonth=11))*30




Meter=String
MeterStyle=TextStyle
Text="01"
X=((#IndicatorWidth#/2+20))


Meter=String
MeterStyle=TextStyle
Text="02"


Meter=String
MeterStyle=TextStyle
Text="03"


Meter=String
MeterStyle=TextStyle
Text="04"


Meter=String
MeterStyle=TextStyle
Text="05"


Meter=String
MeterStyle=TextStyle
Text="06"


Meter=String
MeterStyle=TextStyle
Text="07"


Meter=String
MeterStyle=TextStyle
Text="08"


Meter=String
MeterStyle=TextStyle
Text="09"


Meter=String
MeterStyle=TextStyle
Text="10"


Meter=String
MeterStyle=TextStyle
Text="11"


Meter=String
MeterStyle=TextStyle
Text="12"


Meter=String
MeterStyle=TextStyle
Text="13"


Meter=String
MeterStyle=TextStyle
Text="14"


Meter=String
MeterStyle=TextStyle
Text="15"


Meter=String
MeterStyle=TextStyle
Text="16"


Meter=String
MeterStyle=TextStyle
Text="17"


Meter=String
MeterStyle=TextStyle
Text="18"


Meter=String
MeterStyle=TextStyle
Text="19"


Meter=String
MeterStyle=TextStyle
Text="20"


Meter=String
MeterStyle=TextStyle
Text="21"


Meter=String
MeterStyle=TextStyle
Text="22"


Meter=String
MeterStyle=TextStyle
Text="23"


Meter=String
MeterStyle=TextStyle
Text="24"


Meter=String
MeterStyle=TextStyle
Text="25"


Meter=String
MeterStyle=TextStyle
Text="26"


Meter=String
MeterStyle=TextStyle
Text="27"


Meter=String
MeterStyle=TextStyle
Text="28"


Measure=Calc
Formula=mDayCount<29


Meter=String
MeterStyle=TextStyle
Text="29"
Hidden=
X=((=0)*)r


Measure=Calc
Formula=mDayCount<30


Meter=String
MeterStyle=TextStyle
Text="30"
Hidden=
X=((=0)*)r


Measure=Calc
Formula=mDayCount<31


Meter=String
MeterStyle=TextStyle
Text="31"
Hidden=
X=((=0)*)r


Meter=Image
W=((#IndicatorWidth#/2+20))
H=#IndicatorHeight#
SolidColor=0,0,0,1
X=r


Meter=Image
SolidColor=#IndicatorColorTop#
SolidColor2=#IndicatorColorBot#
GradientAngle=90
;H=16
H=((#IndicatorHeight#-10)<0?0:#IndicatorHeight#-10)
W=#IndicatorWidth#
X=(*(-1))
Y=((#Indicator#<3)*2)
DynamicVariables=1


Measure=Calc
Formula=#Indicator#=2
IfAboveValue=0
IfAboveAction=!RainmeterHideMeterGroup BotRound


Meter=Roundline
MeasureName=cQuarterRound
LineColor=#IndicatorColorBot#
LineLength=5
StartAngle=1.570796326795
Solid=1
AntiAlias=1
H=10
W=10
Y=(-5-#TextY#)R
;X=(-(#IndicatorWidth#/2+20))r
X=r
Group=BotRound


Meter=Image
SolidColor=#IndicatorColorBot#
H=5
W=(#IndicatorWidth#-10)
Y=-5R
X=5r
Group=BotRound


Meter=Roundline
MeterStyle=mLeftRound
StartAngle=0
Y=-5r
X=-5R


Measure=Calc
Formula=#Indicator#=3
IfAboveValue=0
IfAboveAction=!RainmeterHideMeterGroup TopRound


Meter=Roundline
MeasureName=cQuarterRound
LineColor=#IndicatorColorTop#
LineLength=5
StartAngle=3.14159265359
Solid=1
AntiAlias=1
H=10
W=8
X=(*(-1))
DynamicVariables=1
Group=TopRound


Meter=Image
SolidColor=#IndicatorColorTop#
H=5
W=(#IndicatorWidth#-10)
X=5r
Group=TopRound


Meter=Roundline
MeterStyle=mLeftRound2
StartAngle=-1.570796326795
X=-5R


Measure=Calc
Formula=mDay/100
Substitute="0.":""


Meter=string
MeasureName=cDay
NumOfDecimals=2
MeterStyle=TextStyle
FontColor=#CurrentText#
;X=((#IndicatorWidth#/2+20))r
X=((*(-1))+((#IndicatorWidth#/2+20)))


Measure=Calc
Formula=0.25

tayoltaw 发表于 2012-1-9 22:28:37

我还是不懂代码

yinxiaocong 发表于 2012-7-1 01:15:05

求这款日历
页: [1]
查看完整版本: 修改了一个 1920 的日历,可正常使用但是 有运行错误 求修正