[Windows Mobile Apps and Games] Sid-Shrunk:
SORRY, am no more active on this Topic cause Device does no more exist.

Please use at your own Risk. But don't expect answers any more.

Weather icon showing Temperature and Weathercondition at selectable iFonz-Icon plus 5 Day forecast, new weathericons

(Only iFonz 1.1.2 not iFonz 2 by now)

Hi,

the Mortscript, I've done (based on Infos of this thread), is a plugin that replaces an IFonz icon by a weathericon(showing actual weather) and shows temerature as Icon name. In the new version, pressing the weathericon will now show a five day forecast(see screenshots at the end of post). I hope, you'll like it.

The ifonzWeather.ZIP now contains two Mortscripts iFonzWeather.mscr (sceduled download of weatherdata and refresh iFonzscreen) and the new iFonzForecast.mscr(when started expand from 1 to 5 weathericons for 5 day forecast and restore original icons when started again.)

What is new/has changed:

Removed Bug wrong Icon is shown, when online source for weatherdata is available, but Page says no actual data available(weathercode 3200, not 0, not na)

The script can now autoconnect to gsm if no dataconnection is available and if wanted!

Added iFonzForecast.mscr to be started by weathericon. This will give you 5day Forecast, shown as iFonzIcons.

What do you need/have to do:

iFonz 1.1.2(Works with older versions too, but I got reports, that with V0.99 is waits with iconupdate till newstart of iFonz.)

Download and install the Mortscript-4.1PPC.cab

Download my Mortscripts iFonzWeather.zip (see end of post)

S2U2 has Weathericons included, but you can also download the ones i've created of them(complete set but not perfect). Better use blueaxe's icons(see end of post)

Modify scripts with texteditor to fit your needs(at least change your location/descriped further down).

Start it manually by doubleclicking on script to start or put a lnk to windows\autostart(startup)\

What does the script(iFonzWeather.mscr) do:

It downloads the actual weathercondition and the forecast for five days, of a place you select, from Yahoo.weather.com and saves them. It uses the internetconnection available(I've testet via wlan and activesync)

It canges the iFonz icon (you can select in the script) to show the picture of the actual weatherconditions.

it changes iconname shown, to a combination of actual temp and forecast(highes and lowest temp).

It lets you open the 5day forecast if selected or altenatively sets the icon, to start the Browser, you've chosen in the mortscript, and opens the yahoo page showing further weatherinformation to your selectet place. You can also disable this if you like to start an other app.

It will retry to get weater every hour(but you can change the timeintervall to any time in mortscript).

If connection is not available, it will try to use saved weatherdata for showing actual day and the forecast.

Needed changes in script(iFonzWeather.mscr) Simply change with texteditor

The mortscript should work without any changes on english devices. It is by default set, to use the weatherpictures of s2U2, if S2U2 is installed in "\program files\s2u2\gfx\weather\". Pressing the Icon will start iFonzForecast.mscr(change icons to show 5 day forecast). It will change the 4th Icon on the first page to be the main weathericonon the first page(can be changed)

Here you see the settings you can change in an texteditor

Set location to your locationcode.For finding your locationcode, enter http://weather.yahoo.com/ and click trough the countries and the cities untill you find your place.

Then you'll see your needed location in the adressfield of your browser.

"http://weather.yahoo.com/Rosenheim-Germany/GMXX0115/forecast.html"

You want fahrenheit, not centigrade? Change units from c to f

You dont want the script to autoconnect to gsm? SetGSMConnection=""

You want to reload data in shorter or longer Timeintervalls? Change delayHours = 1 and delayMinutes = 0 to your needs

You want other Pix? Change iFonzPixPath to the folder containing the pictures. The mortscript uses 0.png up to 47.png and nb.png for weather not available. So check if NA-Picture is called 0.png or NA.png and eventually change iFonzWNA from "0" from to "na"

Choose pressing Weathericon, (2)to open 5day-forecast inside iFonz(offline), (1) to open online Webpage with further data or (0) select any app to open, manually in iFonz iconsettings, by setting iFonzOpenYahoo =2, 1 or 0

You want iFonz to start an other browser(please Internetexplorer is a shame), for showing further weather information ? Set iFonzBrowser to an other browser.

You want an other Icon to be changed? Set iFonzBottomIcon = True (0..X), if you want to change an icon in bottombar, set if false if you want to change a normal icon. ifonzIconNumber is the positionnumber of the icon counted from left to right,up to down.First Icon has Nr 0. For the bottomicons start counting with the first buttombaricon. Set ifonzPageNumber(1..X) to the page the icon should be(not nescessairy for BottomIcons

What does the script(iFonzForecastdo.mscr) do:

It changes 4 selectable Icons to show Forecast for day 2, 3, 4 and 5(Day 1 is shown by ifonzWeather.mscr). It saves the original Icons with all data, and restores them when script is started again. By setting iFonzOpenYahoo=2 in iFonzweather.mscr it will be started by pressing the Mainicon or any of the other forecasticons

What you can change (works without changes)in script(iFonzForecast.mscr) :

iFonzPixPath and iFonzWNA should get the same values as in iFonzWeather.mscr.

Selecting the first of the 4 replaced icons, works like in FonzWeather.mscr. The values should not be the same like in iFonzWeather.mscr because you would otherwise only see Day 2-5, because you replaced the Mainweathericon, showing actual day.

Click here to see bluemetalaxe's new realizelook weathericons. Find Icons in higher resolution and diffrent optics. These Icons are the base for the Set posted below. TNX bluemetalaxe

To use this Icons set iFonzWNA = "0"

So, this was a long Post. Sounds difficult, but is indeed quite easy. I hope you like it.