I've tried fooling a bit around with GetWeather, but I can't seem to get it working. I've pasted the step.rc settings and the script settings from the readme, and I've made a label containing "$WXInfoText$" in the text. My problem is that the weather info won't update.
Here is my label line.
Weatherlabeltext "$loc1Local$ $Loc1Temperature$ $loc1FeelsLike$ $Loc1Conditions$ at $loc1Grabbed$ "
However, in order to get it to work I also needed the timer.dll module.
Hope that helps.
aaah! thanks. I thought the timer was some sort of core.
It still isn't working. Nothing changes in the weather settings even if I run !GetWeather from the command box.
found the bug! There were 2 broken lines in my script file
argh.. new problems. My label isn't updating. Even though the variables wich I use in the labeltext (WeatherLabelText "$loc1Temperature$ $loc1Conditions$") has changed the labeltext isn't changing. To get it to change I have to use !WeatherLabelSetText "$loc1Temperature$ $loc1Conditions$". Why is this?
eVars are not dynamic. I am trying to get someone to update mzScript so this can be but until then you need to add !reloadmodule label.dll to your !GetWeather bang.
how do I run !getweather on startup?
should be run automatically from your timer line
it doesn't.. it runs !getweather for the first time after the timer delay, so if the delay is high, it won't update for a while. I have to set the delay high if I use !reloadmodule, 'cause it causes lots of flickering when I reload. I've tried using !WeatherLabelSetText "$loc1Temperature$ $loc1Conditions$" instead but with this I can't change the weather-icon. Is there any other module that allows me to change an image using a !bang?
!WeatherLabelSetText doesn't work from within mzscript like you want. Modules cache variable information and won't update them until the module is recycled. I am trying to pressure ilmcuts to add Dynamic eVar support to .24.7 but he says no way.
I use !WeatherLabelSetText in the timer. It works fine..
now that is a lie... my script has been reloading label.dll
but I would still like it to run !getweather at startup - the timer doesn't do that