[Rainmeter]
Update=-1

[Variables]
@include=#@#Variables.inc

FileToWrite=#@#Variables.inc


VariableToWrite=HourFormat
VariableToWrite2=Ms
VariableToWrite3=Fm
VariableToWrite4=DateFormat

[MeterBg]
Meter=Shape
X=0
Y=0
Shape=Rectangle 1,1,680,65 | Fill Color 13,13,13 | Stroke Color 0,0,0,0

[MeterBg2]
Meter=Shape
X=0
Y=65
Shape=Rectangle 1,1,680,490 | Fill Color 0,75,155 | Stroke Color 0,0,0,0

[MeterCode]
Meter=Shape
X=25
Y=210
Shape=Rectangle 1,1,600,30 | Fill Color 0,0,0,1 | Stroke Color 255,255,255,255
LeftMouseUpAction=[!CommandMeasure "MeterInputCode" "ExecuteBatch 1"]

[MeterSize]
Meter=Shape
X=120
Y=501
Shape=Rectangle 1,1,60,30 | Fill Color 0,0,0,1 | Stroke Color 255,255,255,255
LeftMouseUpAction=[!CommandMeasure "MeterInput" "ExecuteBatch 1"]

[MeterTitle]
Meter=String
StringAlign=center
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=17
StringStyle=Bold
ClipString=1
X=340
Y=6
W=480
H=60
Text=<<<   ASTRO Weather   >>>#CRLF#S E T T I N G S
AntiAlias=1
InlineSetting=Size | 14
InlinePattern=S E T T I N G S
InlineSetting2=Color | #FontColor3#
InlinePattern2=S E T T I N G S
InlineSetting3=Weight | 500
InlinePattern3=S E T T I N G S

[MeterInstruction]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=12
X=20
Y=105
Text=1.Go to website Weather.com >>>#CRLF#2.Search for your city by name.#CRLF#3.When you are on your city page, copy the long code at the end of the URL#CRLF#4.Insert the copied code in the field below and press the "Enter" key.
AntiAlias=1
InlineSetting=Color | 255,255,0
InlinePattern=long code

[MeterLocation]
Meter=Image
ImageName=#@#loc.png
X=270
Y=92
AntiAlias=1
LeftMouseUpAction=["https://www.weather.com/"]

[MeterLocation2Text]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=12
X=435
Y=105
AntiAlias=1
Text=Codes in the old format

[MeterLocation2]
Meter=Image
ImageName=#@#loc2.png
X=610
Y=92
AntiAlias=1
LeftMouseUpAction=["https://weather.codes"]

[MeterLocationCode]
Meter=String
StringAlign=center
FontFace=#FontFace#
FontColor=255,255,0
FontSize=10
X=325
Y=217
Text=#LocationCode#
AntiAlias=1
ToolTipText=Click and paste the code

[MeterInputCode]
Measure=Plugin
Plugin=InputText
StringAlign=center
FontFace=#FontFace#
FontSize=10
FontColor=0,0,0
SolidColor=215,215,215,255
X=30
Y=216
W=590
H=20
AntiAlias=1
FocusDismiss=1
Command1=[!WriteKeyValue Variables LocationCode "$UserInput$" "#@#Variables.inc"][!Refresh][!Refresh "#ROOTCONFIG#"]
DefaultValue=#LocationCode#

[LanginUse]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=20
Y=265
Text=LANGUAGE
AntiAlias=1

[LanginUseTxt]
Meter=String
FontFace=#FontFace#
FontColor=255,255,0
FontSize=11
StringAlign=left
X=120
Y=267
Text=#LanginUse#
AntiAlias=1

[LanguageTxt]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=11
X=20
Y=305
Text=Click to change the language  >>> 
AntiAlias=1

[MeterLanguage]
Meter=Image
ImageName=#@#lang.png
X=257
Y=295
AntiAlias=1
LeftMouseUpAction=!ToggleConfig "#ROOTCONFIG#\Language" "Language.ini"

[SkinTxt]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=11
X=20
Y=365
Text=Choose the skin variant  >>>
AntiAlias=1

[Skin1]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=230
Y=345
Text=TIME+
AntiAlias=1
MouseOverAction=[!SetOption Skin1 FontSize 14][!UpdateMeter Skin1][!Redraw]
MouseLeaveAction=[!SetOption Skin1 FontSize 12][!UpdateMeter Skin1][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "Time+.ini"]

[Skin2]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=305
Y=345
Text=WEATHER
AntiAlias=1
MouseOverAction=[!SetOption Skin2 FontSize 14][!UpdateMeter Skin2][!Redraw]
MouseLeaveAction=[!SetOption Skin2 FontSize 12][!UpdateMeter Skin2][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "Weather.ini"]

[Skin3]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=410
Y=345
Text=LIVE
AntiAlias=1
MouseOverAction=[!SetOption Skin3 FontSize 14][!UpdateMeter Skin3][!Redraw]
MouseLeaveAction=[!SetOption Skin3 FontSize 12][!UpdateMeter Skin3][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherLive.ini"]

[Skin4]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=470
Y=345
Text=VERT
AntiAlias=1
MouseOverAction=[!SetOption Skin4 FontSize 14][!UpdateMeter Skin4][!Redraw]
MouseLeaveAction=[!SetOption Skin4 FontSize 12][!UpdateMeter Skin4][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherVert.ini"]

[Skin5]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=230
Y=385
Text=EXTD
AntiAlias=1
MouseOverAction=[!SetOption Skin5 FontSize 14][!UpdateMeter Skin5][!Redraw]
MouseLeaveAction=[!SetOption Skin5 FontSize 12][!UpdateMeter Skin5][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherExtd.ini"]

[Skin6]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=305
Y=385
Text=EXTD2
AntiAlias=1
MouseOverAction=[!SetOption Skin6 FontSize 14][!UpdateMeter Skin6][!Redraw]
MouseLeaveAction=[!SetOption Skin6 FontSize 12][!UpdateMeter Skin6][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherExtd2.ini"]


[Skin7]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=390
Y=385
Text=EXTD3
AntiAlias=1
MouseOverAction=[!SetOption Skin7 FontSize 14][!UpdateMeter Skin7][!Redraw]
MouseLeaveAction=[!SetOption Skin7 FontSize 12][!UpdateMeter Skin7][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherExtd3.ini"]

[Skin8]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=475
Y=385
Text=EXTD4
AntiAlias=1
MouseOverAction=[!SetOption Skin8 FontSize 14][!UpdateMeter Skin8][!Redraw]
MouseLeaveAction=[!SetOption Skin8 FontSize 12][!UpdateMeter Skin8][!Redraw]
LeftMouseUpAction=[!ActivateConfig "#ROOTCONFIG#" "WeatherExtd4.ini"]

[TimeTxt]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=11
X=20
Y=425
Text=Choose the time format  >>>
AntiAlias=1

[12H]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=230
Y=425
Text=12H 
AntiAlias=1
MouseOverAction=[!SetOption 12H FontSize 14][!UpdateMeter 12H][!Redraw]
MouseLeaveAction=[!SetOption 12H FontSize 12][!UpdateMeter 12H][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables #VariableToWrite# "%I" "#FileToWrite#"][!WriteKeyValue Variables #VariableToWrite2# "Time" "#FileToWrite#"][!WriteKeyValue Variables #VariableToWrite3# "%p" "#FileToWrite#"][!Refresh "#ROOTCONFIG#"]

[24H]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=290
Y=425
Text=24H 
AntiAlias=1
MouseOverAction=[!SetOption 24H FontSize 14][!UpdateMeter 24H][!Redraw]
MouseLeaveAction=[!SetOption 24H FontSize 12][!UpdateMeter 24H][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables #VariableToWrite# "%H" "#FileToWrite#"][!WriteKeyValue Variables #VariableToWrite2# "" "#FileToWrite#"][!WriteKeyValue Variables #VariableToWrite3# "" "#FileToWrite#"][!Refresh "#ROOTCONFIG#"]

[DateTxt]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=11
X=20
Y=467
Text=Choose the date format  >>>
AntiAlias=1

[DM]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=230
Y=467
Text=DAY-MONTH 
AntiAlias=1
MouseOverAction=[!SetOption DM FontSize 14][!UpdateMeter DM][!Redraw]
MouseLeaveAction=[!SetOption DM FontSize 12][!UpdateMeter DM][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables #VariableToWrite4# "%#d %h" "#FileToWrite#"][!Refresh "#ROOTCONFIG#"]

[MD]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=370
Y=467
Text=MONTH-DAY
AntiAlias=1
MouseOverAction=[!SetOption MD FontSize 14][!UpdateMeter MD][!Redraw]
MouseLeaveAction=[!SetOption MD FontSize 12][!UpdateMeter MD][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables #VariableToWrite4# "%h %#d" "#FileToWrite#"][!Refresh "#ROOTCONFIG#"]

[MeterSizeValue]
Meter=String
StringAlign=center
FontFace=#FontFace#
FontColor=255,255,0
FontSize=11
X=150
Y=506
Text=#SizeValue#
AntiAlias=1
ToolTipText=Click and insert value

[MeterInput]
Measure=Plugin
Plugin=InputText
StringAlign=center
FontFace=#FontFace#
FontSize=11
FontColor=0,0,0
SolidColor=215,215,215,255
X=126
Y=506
W=50
H=20
AntiAlias=1
FocusDismiss=1
Command1=[!WriteKeyValue Variables SizeValue "$UserInput$" "#@#Variables.inc"][!Refresh][!Refresh "#ROOTCONFIG#"]
DefaultValue=#SizeValue#

[SizeTxt]
Meter=String
StringAlign=left
FontFace=#FontFace#
FontColor=#FontColor2#
FontSize=12
StringStyle=Bold
X=20
Y=505
Text=SIZE VALUE
AntiAlias=1

[Instruction2]
Meter=String
StringAlign=Left
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=11
X=190
Y=505
Text=Insert the desired value and press the "Enter" key.
AntiAlias=1

[CloseButton]
Meter=String
StringAlign=Centercenter
FontColor=#FontColor#
FontSize=12
X=668
Y=14
W=20
H=20
Text=X
SolidColor=204,0,0
AntiAlias=1
MouseOverAction=[!ShowMeter CloseButtonActive][!HideMeter CloseButton][!Redraw]

[CloseButtonActive]
Meter=String
StringAlign=Centercenter
FontColor=#FontColor#
FontSize=14
StringStyle=Bold
X=r
Y=r
W=20
H=20
Text=X
SolidColor=204,0,0
AntiAlias=1
Hidden=1
ToolTipText=Close
LeftMouseUpAction=[!DeactivateConfig]
MouseLeaveAction=[!ShowMeter CloseButton][!HideMeter CloseButtonActive][!Redraw]
