It is currently April 19th, 2024, 6:16 pm
Skin for kitchen center
-
- Posts: 6
- Joined: April 7th, 2019, 4:03 pm
Re: Skin for kitchen center
OK, what`s next step? thx
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin for kitchen center
Yep, you're right, I promised I'll post a newer version, then forgot. I'll take a look immediately to see what have I done and will come back a little bit later today.
Sorry once again...
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Skin for kitchen center
Ok, here a new code, with some new elements added. Just replace the old code with this one, check it and let me know what do you think about it? Is there some other elements to be added as well?
Code: Select all
[Rainmeter]
AccurateText=1
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,1
[Variables]
Ev1=0
Ev2=0
Ev3=0
Ev4=0
Ev5=0
Scale=2
BackgroundColor=255,255,255,120
RecipesPlace= - ADD HERE THE PATH OF THE FOLDER WITH THE RECIPES -
ShoppingBasketPlace= - ADD HERE THE PATH OF THE APP WHERE YOU COULD WRITE, READ AND EDIT THE ITEMS FOR SHOPPING -
Browser= - ADD HERE THE PATH OF YOUR BROWSER -
@Include=#@#Remaind.inc
[StringStyle]
FontColor=0,0,0
FontEffectColor=220,220,220
StringEffect=Shadow
SolidColor=0,0,0,1
FontFace=Segoe UI
StringStyle=BOLDITALIC
AntiAlias=1
[LinkStringStyle]
X=(60*#Scale#)r
Y=(30*#Scale#)r
W=(110*#Scale#)
H=(55*#Scale#)
ClipString=1
FontSize=(14*#Scale#)
StringAlign=CenterCenter
DynamicVariables=1
[BackgroundStyle]
MyModifiers1=Fill Color #BackgroundColor#
MyModifiers2=StrokeWidth 4 | Stroke Color 0,0,0
[LinkBackgroundStyle]
Shape=Rectangle 0,0,(120*#Scale#),(60*#Scale#),(20*#Scale#) | Extend MyModifiers1, MyModifiers2
DynamicVariables=1
[MeasureTime]
Measure=Time
Format=%H:%M
[MeasureDate]
Measure=Time
Format=%d %b %a
[MeasureEvent1]
Measure=String
String=#Date1##Time1##Event1#
IfMatch=^$|#*Date1*##*Time1*##*Event1*#
IfMatchAction=[!HideMeterGroup "Event1"][!SetVariable Ev1 "0"]
IfNotMatchAction=[!ShowMeterGroup "Event1"][!SetVariable Ev1 "1"]
[MeasureEvent2]
Measure=String
String=#Date2##Time2##Event2#
IfMatch=^$|#*Date2*##*Time2*##*Event2*#
IfMatchAction=[!HideMeterGroup "Event2"][!SetVariable Ev2 "0"]
IfNotMatchAction=[!ShowMeterGroup "Event2"][!SetVariable Ev2 "1"]
[MeasureEvent3]
Measure=String
String=#Date3##Time3##Event3#
IfMatch=^$|#*Date3*##*Time3*##*Event3*#
IfMatchAction=[!HideMeterGroup "Event3"][!SetVariable Ev3 "0"]
IfNotMatchAction=[!ShowMeterGroup "Event3"][!SetVariable Ev3 "1"]
[MeasureEvent4]
Measure=String
String=#Date4##Time4##Event4#
IfMatch=^$|#*Date4*##*Time4*##*Event4*#
IfMatchAction=[!HideMeterGroup "Event4"][!SetVariable Ev4 "0"]
IfNotMatchAction=[!ShowMeterGroup "Event4"][!SetVariable Ev4 "1"]
[MeasureEvent5]
Measure=String
String=#Date5##Time5##Event5#
IfMatch=^$|#*Date5*##*Time5*##*Event5*#
IfMatchAction=[!HideMeterGroup "Event5"][!SetVariable Ev5 "0"]
IfNotMatchAction=[!ShowMeterGroup "Event5"][!SetVariable Ev5 "1"]
[MeterBackgroundClockDate]
Meter=Shape
MeterStyle=BackgroundStyle
X=1
Y=1
Shape=Rectangle 0,0,(240*#Scale#),(160*#Scale#),(20*#Scale#) | Extend MyModifiers1, MyModifiers2
[MeterBackgroundClockDateLabel]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasureTime
MeasureName2=MeasureDate
X=([MeterBackgroundClockDate:W]/2)
Y=([MeterBackgroundClockDate:H]/2)
FontSize=(36*#Scale#)
StringAlign=CenterCenter
Text=%1#CRLF#%2
InlineSetting=Size | 14
InlinePattern=^.*#CRLF#(.*)$
InlineSetting2=Case | Upper
InlinePattern2=^.*#CRLF#.* .* (.*)$
DynamicVariables=1
[MeterBackgroundRemainder]
Meter=Shape
MeterStyle=BackgroundStyle
X=1
Y=(20*#Scale#)R
Shape=Rectangle 0,0,(300*#Scale#),((36+18*(#Ev1#+#Ev2#+#Ev3#+#Ev4#+#Ev5#))*#Scale#),(20*#Scale#) | Extend MyModifiers1, MyModifiers2
DynamicVariables=1
[MeterBackgroundRemainderLabel]
Meter=STRING
MeterStyle=StringStyle
X=10r
Y=5r
FontSize=(14*#Scale#)
StringAlign=Left
Text=Remainder
[MeterBackgroundEvent1DateLabel]
Meter=STRING
MeterStyle=StringStyle
X=15
Y=0R
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Date1#
Group=Event1
Hidden=1
[MeterBackgroundEvent1TimeLabel]
Meter=STRING
MeterStyle=StringStyle
X=(130*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Center
Text=#Time1#
Group=Event1
Hidden=1
[MeterBackgroundEvent1EventLabel]
Meter=STRING
MeterStyle=StringStyle
X=(60*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Event1#
Group=Event1
Hidden=1
[MeterBackgroundEvent2DateLabel]
Meter=STRING
MeterStyle=StringStyle
X=15
Y=0R
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Date2#
Group=Event2
Hidden=1
[MeterBackgroundEvent2TimeLabel]
Meter=STRING
MeterStyle=StringStyle
X=(130*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Center
Text=#Time2#
Group=Event2
Hidden=1
[MeterBackgroundEvent2EventLabel]
Meter=STRING
MeterStyle=StringStyle
X=(60*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Event2#
Group=Event2
Hidden=1
[MeterBackgroundEvent3DateLabel]
Meter=STRING
MeterStyle=StringStyle
X=15
Y=0R
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Date3#
Group=Event3
Hidden=1
[MeterBackgroundEvent3TimeLabel]
Meter=STRING
MeterStyle=StringStyle
X=(130*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Center
Text=#Time3#
Group=Event3
Hidden=1
[MeterBackgroundEvent3EventLabel]
Meter=STRING
MeterStyle=StringStyle
X=(60*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Event3#
Group=Event3
Hidden=1
[MeterBackgroundEvent4DateLabel]
Meter=STRING
MeterStyle=StringStyle
X=15
Y=0R
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Date4#
Group=Event4
Hidden=1
[MeterBackgroundEvent4TimeLabel]
Meter=STRING
MeterStyle=StringStyle
X=(130*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Center
Text=#Time4#
Group=Event4
Hidden=1
[MeterBackgroundEvent4EventLabel]
Meter=STRING
MeterStyle=StringStyle
X=(60*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Event4#
Group=Event4
Hidden=1
[MeterBackgroundEvent5DateLabel]
Meter=STRING
MeterStyle=StringStyle
X=15
Y=0R
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Date5#
Group=Event5
Hidden=1
[MeterBackgroundEvent5TimeLabel]
Meter=STRING
MeterStyle=StringStyle
X=(130*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Center
Text=#Time5#
Group=Event5
Hidden=1
[MeterBackgroundEvent5EventLabel]
Meter=STRING
MeterStyle=StringStyle
X=(60*#Scale#)r
Y=0r
FontSize=(10*#Scale#)
StringAlign=Left
Text=#Event5#
Group=Event5
Hidden=1
[MeterBackgroundRecipes]
Meter=Shape
MeterStyle=BackgroundStyle | LinkBackgroundStyle
X=([MeterBackgroundClockDate:XW]+20*#Scale#)
Y=1
LeftMouseUpAction=#RecipesPlace#
[MeterBackgroundRecipesLabel]
Meter=STRING
MeterStyle=StringStyle | LinkStringStyle
Text=Recipes
[MeterBackgroundShopping]
Meter=Shape
MeterStyle=BackgroundStyle | LinkBackgroundStyle
X=([MeterBackgroundClockDate:XW]+20*#Scale#)
Y=(5*#Scale#)R
LeftMouseUpAction=#ShoppingBasketPlace#
[MeterBackgroundShoppingLabel]
Meter=STRING
MeterStyle=StringStyle | LinkStringStyle
Text=Shopping basket
[MeterBackgroundWeb]
Meter=Shape
MeterStyle=BackgroundStyle | LinkBackgroundStyle
X=([MeterBackgroundRecipes:XW]+20*#Scale#)
Y=1
LeftMouseUpAction=#Browser#
[MeterBackgroundWebLabel]
Meter=STRING
MeterStyle=StringStyle | LinkStringStyle
Text=Web
[MeterBackgroundCalc]
Meter=Shape
MeterStyle=BackgroundStyle | LinkBackgroundStyle
X=([MeterBackgroundRecipes:XW]+20*#Scale#)
Y=(5*#Scale#)R
LeftMouseUpAction=["Calc.exe"]
[MeterBackgroundCalcLabel]
Meter=STRING
MeterStyle=StringStyle | LinkStringStyle
Text=Calculator