balala wrote:Oh, now I understand.
Ok, instead of refreshing all, I'd refresh just the current two configs: [!Refresh "DIGI DayNightClock"][!Refresh "DIGI DayNightClock\Settings"].
And one more detail I just saw in your last posted code: take care that the !DeactivateConfig bang, unlike !ActivateConfig, doesn't need two parameters. In the LeftMouseUpAction option of the [MeterCloseButtonActive] meter, you have this: LeftMouseUpAction=!DeactivateConfig "DIGI DayNightClock\Settings" [color=#FF0000]"Settings.ini"[/color]. But correctly this would be: LeftMouseUpAction=!DeactivateConfig "DIGI DayNightClock\Settings", because the !DeactivateConfig doesn't care which skin of the DIGI DayNightClock\Settings config is loaded, it will deactivate the loaded one.
If you want, post once more the updated package. I'd check it.
Updated code :
Code: Select all
[Rainmeter]
Update=-1
[Variables]
@include=#@#Location.inc
[MeterBg]
Meter=Shape
X=0
Y=0
Shape=Rectangle 1,1,800,40 | Fill Color 13,13,13 | Stroke Color 255,255,255,255
[MeterBg2]
Meter=Shape
X=0
Y=40
Shape=Rectangle 1,1,800,300 | Fill Color 32,64,132 | Stroke Color 255,255,255,255
[MeterLocation]
Meter=Shape
X=25
Y=190
Shape=Rectangle 1,1,750,30 | Fill Color 0,0,0,0 | Stroke Color 255,255,255,255
[MeterClose]
Meter=Shape
X=325
Y=277
Shape=Rectangle 1,1,150,30 | Fill Color 0,0,0,0 | Stroke Color 255,255,255,255
[MeterTitle]
Meter=String
StringAlign=Centercenter
FontFace=century gothic
FontColor=255,255,255
StringStyle=Bold
FontSize=15
X=400
Y=22
Text=SETTINGS : LOCATION
AntiAlias=1
[MeterInstruction]
Meter=String
StringAlign=Left
FontFace=century gothic
FontColor=255,255,255
FontSize=12
X=40
Y=80
Text=1.Go to website Foreca.com >>>#CRLF#2.Write the name of the city and select it from the list that appears.#CRLF#3.When you are on the page with your city, copy the entire address.#CRLF#4.Insert the copied address in the field below and press the "Enter" key to apply changes.
AntiAlias=1
[MeterWebsite]
Meter=Image
ImageName=#@#Location.png
X=280r
Y=60
AntiAlias=1
LeftMouseDownAction=["https://www.foreca.com/"]
[MeterAddress]
Meter=String
StringAlign=Left
FontFace=century gothic
FontColor=255,255,0
FontSize=10
X=30
Y=197
Text=#LocationURL#
AntiAlias=1
ToolTipText=Click and paste address
LeftMouseUpAction=[!CommandMeasure "MeterInput" "ExecuteBatch 1"]
[MeterInput]
Measure=Plugin
Plugin=InputText.dll
StringAlign=Left
FontFace=century gothic
FontSize=10
FontColor=255,255,0
X=30
Y=197
W=740
H=20
AntiAlias=1
FocusDismiss=1
Command1=[!WriteKeyValue Variables LocationURL "$UserInput$" "#@#Location.inc"][!Refresh][!Refresh "DIGI DayNightClock"]
DefaultValue=#LocationURL#
[MeterCloseButton]
Meter=String
StringAlign=Centercenter
FontFace=century gothic
FontSize=12
FontColor=255,255,255
X=400
Y=293
Text=Close Settings
SolidColor=0,0,0,1
AntiAlias=1
MouseOverAction=[!ShowMeter MeterCloseButtonActive][!HideMeter MeterCloseButton][!Update]
[MeterCloseButtonActive]
Meter=String
StringAlign=Centercenter
FontFace=century gothic
FontSize=12
StringStyle=Bold
FontColor=255,255,255
X=r
Y=r
Text=Close Settings
SolidColor=0,0,0,1
AntiAlias=1
Hidden=1
LeftMouseUpAction=!DeactivateConfig "DIGI DayNightClock\Settings"
MouseLeaveAction=[!ShowMeter MeterCloseButton][!HideMeter MeterCloseButtonActive][!Update]