It is currently May 4th, 2024, 3:41 pm
Get help with creating, editing & fixing problems with skins
xenium
Posts: 868 Joined: January 4th, 2018, 9:52 pm
Post
by xenium » February 6th, 2020, 11:37 am
I have the following code and the Variables.inc file that contains 2 variables :Location and Station
Code: Select all
[Variables]
@include=#@#Variables.inc
[InputLocation]
Measure=Plugin
Plugin=InputText
.
.
FocusDismiss=1
Command1=[!WriteKeyValue Variables Location "$UserInput$" "#@#Variables.inc"][!Refresh "SKIN"]
DefaultValue=#Location#
[MeasureCodeStation1]
Measure=WebParser
Url=
StringIndex=1
When the location is entered, [MeasureCodeStation1] returns the station code.
It is possible when entering the location, be entered and the station code returned by [MeasureCodeStation1]?
Thanks
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » February 6th, 2020, 1:44 pm
I'm not sure I follow the question...
xenium
Posts: 868 Joined: January 4th, 2018, 9:52 pm
Post
by xenium » February 6th, 2020, 4:09 pm
I found a solution.
I added to the parent measure FinishAction=[!WriteKeyValue Variables Station "[MeasureCodeStation1]" "#@#Variables.inc"]
balala
Rainmeter Sage
Posts: 16198 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » February 6th, 2020, 4:27 pm
xenium wrote: ↑ February 6th, 2020, 4:09 pm
I found a solution.
I added to the parent measure FinishAction=[!WriteKeyValue Variables Station "[MeasureCodeStation1]" "#@#Variables.inc"]
Definitely not follow as well, however I doubt this option does something on [MeasureCodeStation1], unless you're refreshing the skin. But not sure what would you like...