It is currently April 24th, 2024, 6:51 pm

InputText Question

Get help with creating, editing & fixing problems with skins
User avatar
xenium
Posts: 866
Joined: January 4th, 2018, 9:52 pm

InputText Question

Post by xenium »

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
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: InputText Question

Post by jsmorley »

I'm not sure I follow the question...
User avatar
xenium
Posts: 866
Joined: January 4th, 2018, 9:52 pm

Re: InputText Question

Post by xenium »

I found a solution.
I added to the parent measure FinishAction=[!WriteKeyValue Variables Station "[MeasureCodeStation1]" "#@#Variables.inc"]
User avatar
balala
Rainmeter Sage
Posts: 16167
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: InputText Question

Post by balala »

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...