We can't test your code (at least not the [MeasureWeather] measure, because it needs a username and a password, which we don't have), however most probably the problem resides in fact that when the [MeasureLatitude] and [MeasureLongitude] measures get their values the [MeasureWeather] should be updated. But this measure had been updated at the very fist moment, when [MeasureLocation] also has been, then it is on a 10 minutes bases.I'm new to Rainmeter so any help would be greatly appreciated. I'm trying to get weather information using the WebParser. It works fine until I try to use variables for my current location. I got a Measure to grab my Latitude and Longitude using the WebParser. This works fine I can see the values in the log/skin debug window. But the second WebParser to get the weather information doesn't return anything. It works fine if I use hard values and no variables.
Am I just using the variables wrong or did I make another mistake(s)? All help is greatly appreciated!
Try disabling the second parent webParser measure ([MeasureWeather]), then enabling it, only when [MeasureLatitude] and [MeasureLongitude] got their values. You can do this by:
- Disabling the [MeasureWeather] measure, by adding it a Disabled=1 option.
- Enabling it, by adding a FinishAction=['EnableMeasure "MeasureWeather"] option to the [MeasureLocation] option. This way, when [MeasureLocation] finishes its job (accordingly when [MeasureLatitude] and [MeasureLongitude]), its FinishAction is executed, enabling the [MeasureWeather] measure. This measure gets the value in this moment.
Statistics: Posted by balala — Yesterday, 7:49 pm