GetWeather Help Thread last updated on 2003-04-02 09:45:07

Posted by member 8640 on 2003-02-20 18:23:45

Hi, I need some help on setting up this module. After setting up all the code in my step.rc. An error pops up for these two lines when I am recycling:

*script exec wscript "$WeatherScript$ $WeatherURL1$ $WeatherUnits1$
*script exec wscript "$WeatherScript$ $WeatherURL2$ $WeatherUnits2$


The above codes are locted in this section of code::

*script bang !GetWeather
*script gotoif ("%{weatherActive}" = "0") deactivated
*script exec wscript "$WeatherScript$ $WeatherURL1$ $WeatherUnits1$
$WeatherInfo1$ $weatherBanger$ !updateWeather1 $WeatherPrefix1$"
*script exec wscript "$WeatherScript$ $WeatherURL2$ $WeatherUnits2$
$WeatherInfo2$ $weatherBanger$ !updateWeather2 $WeatherPrefix2$"
*script exec !TimerReset GetWeather
*script exit
*script label deactivated
*script exec !alert "Weather is currently deactivated."
*script ~bang


Also what does wscript means?

Thanks

Posted by member 7 on 2003-02-21 03:19:47 link

which error?

Posted by member 8640 on 2003-02-21 12:48:48 link

the popup just said invalid variables :

$WeatherScript$ $WeatherURL1$ $WeatherUnits1$
$WeatherInfo1$ $weatherBanger$ !updateWeather1 $WeatherPrefix1$ $WeatherScript$ $WeatherURL2$ $WeatherUnits2$
$WeatherInfo2$ $weatherBanger$ !updateWeather2 $WeatherPrefix2$

Posted by member 1 on 2003-04-01 14:29:00 link

means you didn't get all of the setup stuff into your step. There is a section where you setup city and URL information. You also need to get timer.dll installed.

wscript is a function that is called so that weather information is pulled form the website you defined.

Posted by member 333 on 2003-04-02 06:55:14 link

wscript is wscript.exe, innit?

Posted by member 1 on 2003-04-02 09:45:07 link

its a VBS