yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Luke-ro:
Sorry to bother you with this, but... i made a lot of changes to the weather.ini to make some tests and now i dont get the auto update anymore, i mean the screen wake up, apparently it download the data, but the weather and temp doesnt update anymore (i know they are changed cause i check on Accuweather site).

To update i have to manually tap on iPhoneTodayAccuWeather.mscr that i have linked in the Parameters field of the weather icon (the first time i tap on it i get the forecast and with the second tap i get the update and the forecast icons go back to normal iPhone Today icons).
[Windows Mobile Apps and Games] michoob:
@Luke-ro: have you set something for IPTWtranslationLanguageCode in the weather.ini file? My guess is that there are errors while downloading weather description translations which needs about 50 to 100 kB to be downloaded. Thus, the weather is not updated because the script locks during the translation data download.

If you set IPTWtranslationLanguageCode to empty and have weather in english, it should be better.
[Windows Mobile Apps and Games] Luke-ro:
For some reason i can't understand it was set =fr :)

now it's empty, we will see what happens

thank you

I tried to set autostartIPTWeather.mscr so to have it loaded when i start my phone, but i always get an error msg saying that it cant be found, do you think it depends on the fact that i have both the app and Mortscript in "My Storage"?
[Windows Mobile Apps and Games] michoob:
Yes, that's the default value, but I should default it to empty so users have less issues...

What is the message more precisely?

Is it a message from MortScript or from the system?

If it is from the system, I guess the problem comes from the fact MortScript is installed on your storage card.
[Windows Mobile Apps and Games] Luke-ro:
I didn't have time to write it down or to take a pic of it cause it lasted only a few seconds, i will try again.

After removing the fr as language it started to auto update :)

thanks!
[Windows Mobile Apps and Games] michoob:
Don't set any language code, as it is US English by default.

I should have set it to empty by default.
[Windows Mobile Apps and Games] jerrya:
I removed the language code. And still all I am getting is that pop up window indicating temp and sunrise, etc. It just doesn't make sense. It worked fine for over 2 weeks, but then, it just stopped updating every hour.

Not sure what other information I can give you to help.
[Windows Mobile Apps and Games] michoob:
@JerryA: what have you set for IPTWcurrentWeatherIcon, IPTWcurrentWeatherPage, IPTWforecastStartIcon and IPTWforecastStartPage?

Also, please edit with iPhoneToday your current weather icon so it executes the iPhoneTodayAccuWeather.mscr script.
[Windows Mobile Apps and Games] jerrya:
IPTWcurrentWeatherIcon is set to 0

IPTWcurrentWeatherPage is set to 0

IPTWforecastStartIcon is set to 0

IPTWforecastStartPage is set to 3.

I wanted the very first icon of the first page to be my weather, and I devoted an entire page (the last) to my forecast.

As for the iPhoneTodayAccuWeather.mscr script, I don't know if this is right, I don't remember doing it, but it has in the field Execute - Mortscript.exe, and in the Parameters field - a whole bunch of garbage! I just don't understand it. The path listed in the parameters is as circular and leads nowhere as you can get. Even a noob like me can tell that wont work!

So I will again enter the script into the execute field and get back to you.

Oh, I have 4 pages (dots). So the first weather icon and the page with only the forecast are correct.

Edit - Well, at least that little pop up isn't happening, but nothing else is too. I am going to double check everything.

Edit Edit - Alright, I got the last page to show, but the first Icon isnt working. I changed the 'iphonetodaydisabled' to 0, that seemed to help. now for the first icon.

Final Edit - I just don't get it. I had set the parameter 'IPTWriteforecastinfile' to 1 and it worked just fine. I just changed it to 'blank', and its all good now.

Wierd! But thanks for sticking with me through this. Your help is always appreciated!
[Windows Mobile Apps and Games] michoob:
LOL, what a mess!

I don't really get all you've done and what happened, but I'm glad it's working for you now.

I know IPTWeather is quiet difficult to configure, but it is because it can do so many things!
[Windows Mobile Apps and Games] michoob:
I've updated first post with a new S2U2 UserWeather Fullscreen icon set by sv0911:

sv0911's Fantasy Flash WVGA 480x800 or QWVGA 240x400:
[Windows Mobile Apps and Games] michoob:
IPTWeather_20100826

New version released!

Enjoy!
[Windows Mobile Apps and Games] madatoryloginlol:
These scripts are fairly complicated and there are few comments in the code. I am having trouble implementing some changes to them. Not necessarily asking anyone to do these things for me, but if anyone could give me some hints or tell me where certain things are in the code, that would be great.

Some things I am looking to accomplish with this:

1. Completely disable all automatic updates and update prompts. I would like to have a script that will silently update the data and icons upon execution.

I've made changes (to iphonetodayaccuweather.mscr) that I think will do this, but I don't know if they were successful. I don't understand why this thing sometimes just updates, sometimes asks me if I want to update.

For weather updates I usually make a small script that runs when triggered by a wakeup notification. It checks to see if 40 minutes has passed since the last notification, and then runs a specified script. This is what I'm looking to do here as well. (I highly recommend updating weather info this way, incidentally. You can configure a script to run on wakeup in the notifications tab of FDC Task Manager.)

2. Make the caption of the current weather icon include the humidity. I don't want a separate icon for this. Just [temperature]/[humidity], or maybe [current temp][humidity] ([high temp]/[low temp]). I don't even know what it's saying now--there's two temperatures, one in parenthesis. I don't know what either of them are.

3. Get rid of the night icons and just have the high and low temperatures listed in the caption of each day's icon. If I can fit today's high and low in the caption of the icon for current conditions, then I'd like to get rid of today's icon from the forecast.

4. Now, with all this saved space I could do a second row for the forecast of a second location. I'm not sure if I'd need to make a second instance of the scripts for that though.
[Windows Mobile Apps and Games] Roockie:
Hi all,

I have already written a mort-script, which gets the weather from Yahoo. Now I wanted to try the script getting weather from Acuu, but the script everytime failes, when the script tries to access the specified link. What's wrong with this definition???

(BTW, the link is working properly in PC's internet explorer)

link=ReadFile("http://www.accuweather.com/adcbin/forecastfox/weather_data.asp?location=EUR|AT|AU006|GRAZ&metric=1")

many thanks in advance for your help!
[Windows Mobile Apps and Games] jfcala:
Hi michoob,

It is possible to show weather in windows lockscreen with your app?
[Windows Mobile Apps and Games] YOSEFE:
This looks like a very wonderful app.

However, one request, can you simplify this app by pulling everything to say just one or two files (zip or cab or both zip and cab)?

It will be a great help to many would be users if this were a possibility.

This is just a request.
[Windows Mobile Apps and Games] madatoryloginlol:
I got the humidity in the current temperature icon by editing getaccuweather.mscr. Line ~313, after the comment "# new not obsolete data, so update", find "iPhoneTodayTemp=" and set it to:

iPhoneTodayTemp = RegRead(IPTWregRoot, IPTWregKey, "temp0") & "/" & RegRead(IPTWregRoot, IPTWregKey, "humidity")

(I removed the "realfeel" temperature from that, fyi. Also there's a lot of error checking and fallbacks in the script, but this change skips any of that. If there's an error reading the humidity, something might not work.)
[Windows Mobile Apps and Games] lovej:
hi author

would you tell me how to change weather source?

i want to use weather forecast of http://www.weather.com.cn.

would you help me?
[Windows Mobile Apps and Games] michoob:
No automatic update but silent update?

If I understand well, just set IPTWupdateWeatherNowQuestion. No need to change any script for that.

Also check the parameters IPTWdelayHours and IPTWdelayMinutes for the autonatic update. No need to use FDC Task Manager.

Now it displays Current temperature and in parenthesism you have the current real feel temperature.

Not possible for the moment. I´ll think about it.

You can have several instances of IPTWeather. Just copy paste the IPTWeather to the IPTWeather2 folder for instance, edit the new weather.ini file and run the new startAccuWeather.mscr script.

Yahoo! Weather and AccuWeather.com have different APIs. You cannot just change the URL to use AccuWeather.com instead of Yahoo! Weather.

Not for thwe moment.

Not planned. To much work for each update.

Not planned. IPTWeather is designed to work with the AccuWeather.com API. Too much work to use another website/API.

You shoul start a new app from scratch for that. I can help you if you have some specific questions, but I will not work on that for IPTWeather. Just PM me for any specific technical question.
[Windows Mobile Apps and Games] madatoryloginlol:
I made your script so it doesn't do any automatic updating at all. It updates only when I run the main script (forgot the name), and without any prompts.

Then I have my own separate script that runs whenever the phone is turned on. If there hasn't been an update in 40 minutes, it then does the update (runs your script). The advantage of this would be that the weather is always updated when I view it, but it never updates unless I am using the phone. Theoretically. Now in practice I suspect that the phone is waking up and doing updates by itself anyway.
[Windows Mobile Apps and Games] Roockie:
Thanks for your answer. For sure I now this.

I only want to get the weather information for my city (Graz, Austria) from AccuWeather.com.

But if I use the line link=ReadFile(http://www.accuweather.com/adcbin/forecastfox/weather_data.asp?location=EUR|AT|AU006|GRAZ&metric =1") in my MortScript, the MortScript reports me an error. But I don't know why. When I put the same link into the Windows Internet Explorer, I get the requested weather information shown properly.

Is my definition wrong?

I would appreciate your help.
[Windows Mobile Apps and Games] michoob:
Your change of IPTWeather is completely useless. Just set IPTWdelayHours=0 and IPTWelayMinutes=0, or run the script stopAccuWeather.mscr once, and IPTWeather will stop updating automatically.

Also set IPTWeatherupdateWeatherNowQuestion to empty not to have any prompt on updates.

Anyway, it would be nice if you could share your work once it's working.

Isn't there a missing quote in your URL? It should work normally.

I won't be able to help much now 'cause I'm on holidays for yet 10 days.

Cheers.
[Windows Mobile Apps and Games] android52:
S2U2 Landscape Wallpaper Update?

Michoob,

My S2U2 sometimes goes into landscape mode which I sometimes want. Any chance you could add the ability to update the Landscape wallpaper of S2U2 as well as the portrait?

I think I've succesfully done this (without a ton of testing, just reviewing the registry keys) by duplicating the line in IPTWreloadS2U2.mscr

RegWriteString("HKCU", "\Software\A_C\S2U2\", "Wallpaper", wallpaper)

I simply copied the line and changed the registry entry from "Wallpaper" to WallpaperL" now I have both lines.

I'm not sure if it would make sense to make setting asking if the user wanted both updated or not - for me it's an automatic yes so I think I'm okay with the above modification.

Obviously I can make the change myself each time you publish a new version, but it would be great if you could bake it in.
[Windows Mobile Apps and Games] madatoryloginlol:
I was explaining the point of using FDC Task Manager to add a notification.
[Windows Mobile Apps and Games] michoob:
Ah, ok. Using non-MortScript notifications seems indeed to bring some interesting features. It's a pitty we cannot use any system notification just with MortScript.

Normally, if you run the stopAccuWeather.mscr script once, IPTWeather will not update by itself anymore.

But I will try it by myself, and I may add it on the first post as a tip given by you ;).
[Windows Mobile Apps and Games] michoob:
I've noticed that if you disable notifications made by IPTWeather, on each update, ITPWeather will still remove all notifications.

That might be a problem if you want to use an external notification system.

I'll fix this in the next version.
[Windows Mobile Apps and Games] JaCoL_JcL:
HTC Sense S2U2 theme for WQVGA devices

Hello ALL i re edit this cool theme for WQVGA devices. Most of images all in full screen (missing 2 in winter )

Works on WQVGA but this will work in ALL res (dunno what will look :P) CHECK IT :)

http://www.multiupload.com/H59KLAFFD9

============================================​

And here grab a WQVGA wheater wallpeers

http://hostuje.net/file.php?id=7ad2f414e91f6139c9a00783b7aeb01b

thx to coyotexxx
[Windows Mobile Apps and Games] michoob:
I'll check if I can embed such a feature in the next version.

Actually, I just discovered the RunOnPowerOn function of MortScript ;).

EDIT: I am not sure it is working as expected. It would be very nice if you could share your script. Also, I think you don't need to check for yourself if it hasn't been updated for 40 min if you set IPTWforceDelayHours=0 and IPTWforceDelayMinutes, and if you call the right scripts with the right parameters. That's why I would like to embed this feature in IPTWeather if you could just share your work ;).
[Windows Mobile Apps and Games] michoob:
Coming soon IPTWeather Killing Dragon (aKa IPTWeather_20100929):

New script IPTWeatherConfig.mscr to help configuring IPTWeather and the weather.ini file.

More generic IPTWreloadIcon.mscr script to allow full customization of icon texts in iPhoneToday.

IPTWeather doesn't remove any notification anymore if IPTWdelayHours=0 and IPTWdelayMinutes=0. Usefull to use an external notification system.

Removed setting IPTWS2U2Path.

Removed setting IPTWhideRealFeelInForecastIcons (configure IPTWforecastWeatherIconsTextPattern instead).

Removed setting IPTWquickLocationChangeSleepMsgTime (status message instead).

Replaced IPTWS2U2iconText.mscr script by more generic IPTWtextPattern.mscr script.

Added setting IPTWhideNightForecastIcons.

Added settings IPTWcurrentWeatherIconTextPattern and IPTWforecastWeatherIconsTextPattern to customize icon texts in iPhoneToday.

Added symbols %DAY%, %SDAY%, %PT% and %PRFT% for the three <...>TextPattern settings (check weather.ini file comments for more help).

Added settings IPTWS2U2WallpaperLPath and IPTWdefautS2U2WallpaperL for landscape wallpaper in S2U2.

Reviewed comments in the weather.ini file for better understanding of the different settings.

Corrected bug when no data was available that IPTWdefaultS2U2Text was not displayed in S2U2 and IPTWtodayForecastInS2U2Text was set to 0.

Added city and state in the title of the dialog box asking for updates.
[Windows Mobile Apps and Games] michoob:
xda friends, I'm announcing the Killing Dragon version of IPTWeather will be really great with many improvements!

I'm so excited by this new version!

Just check all the new features, and especially the first one listed!

This is really a killer version :D!

Stay tuned on Wednesday!
[Windows Mobile Apps and Games] Revhead:
Getting the following error message on start with startAccuWeather.mscr in StartUp folder . . .

I get the distinct impression this is only updating when connected to PC via ActiveSync?

I replace startAccuWeather.mscr with a shortcut to the script the error disappears, but still no update.

I'm on an i900 with 6.1?

invalid root entry

Line 49

(\Windows\StartUp\startAccuWeather.mscr):

WeatherRegWriteDword (IPTWregRoot, IPTWregKey,

"Started", 0)
[Windows Mobile Apps and Games] KiwiFFC:
Hi everyone...

I´m a Lama... I don´t know, what i must do, to weather wallpaper go working :(

Only one function is going ... a small icon, at the down left corner.

But i want a wallpaper weather :(

I need, maybe, a step by step wizard...

Can you anyone help me, please...

I have HTC Diamond and i have installed a s2u2 v2.43, SPBmobileshell v3.5.5 and Mortscript v4.2, IPTWeather_20100826

... sorry for my english

Thx for help
[Windows Mobile Apps and Games] michoob:
I don't know you have done, but you shouldn't have the startAccuWeather.mscr script in the \Windows\StartUp\ folder, but just the shorcut to it named 'Start IPTWeather.lnk'.

Please delete '\Windows\StartUp\startAccuWeather.mscr' and run the 'autostartITPWeather.mscr' script to create the shorcut 'Start IPTWeather.lnk'.

As for your problem, I have perhaps installed IPTWeather on your storage card.

Anyway, when you connect your phone to your PC with ActiveSync, it seems the IPTWeather folder is not available for the device anymore, and that's why you have this error.

I cannot do anything to that.

Try installatin ITPWeather on the device if you have the issue when it is installed on the Storage Card.
[Windows Mobile Apps and Games] michoob:
Where do you want to have a wallpaper? On S2U2 I hope and guess.

Then, you must "play" with the following parameters in the weather.ini file:

IPTWtodayForecastInS2U2Wallpaper
IPTWS2U2WallpaperExtension
IPTWS2U2WallpaperPath
IPTWdefautS2U2Wallpaper

If you don't feel comfortable with editing the weather.ini file, then just wait for IPTWeather Killing Dragon that is being released tomorrow with an 'IPTWeather Config' shorcut in the 'Start Menu' to help you configure all :D.
[Windows Mobile Apps and Games] Luke-ro:
I'm very curious to see this new version with the 'IPTWeather Config' shorcut, but at the same time i'm kind of scared to install it cause after some problems now your great program is working just perfect and i don't want to broke anything :D
[Windows Mobile Apps and Games] michoob:
All settings are in the weather.ini file.

So if you backup your weather.ini file, you'll be able to retrieve all your settings back :) after the installation of the new version.

Hum... of course, I've changed a lot the comments in the weather.ini (but just the comments), so the IPTWeather Config tool can work properly!

Perhaps I should make a weather.ini file converter... I'll see if I can do it before releasing IPTWeather Killing Dragon ;)
[Windows Mobile Apps and Games] michoob:
Ok, IPTWeather Killing Dragon will be delivered with the new script restoreConfigBackup.mscr with a shortcut 'IPTWeather Config' in the Start Menu to restore a backup of your settings after a new installation.

So don't worry! Update to the newest IPTWeather Killing Dragon without being scared of loosing all your settings hardly entered in the weather.ini:

1 - backup your weather.ini by creating a copy anywhere.

2 - install IPTWeather Killing Dragon

3 - run the new script restoreConfigBackup.mscr or its shortcut 'IPTWeather Config' in the Start Menu

4 - select your backup weather.ini

5 - and your settings are restored!

Of course, you'll have to wait several hours yet for this greatest release ever, my dear xda friends!

:D
[Windows Mobile Apps and Games] michoob:
IPTWeather Killing Dragon

The new version IPTWeather Killing Dragon (aKa IPTWeather_20100929) is released!

Enjoy my dear xda friends!!

:D
[Windows Mobile Apps and Games] JaCoL_JcL:
great news i just update app and working great thanksss
[Windows Mobile Apps and Games] mickael91210:
Thanks a lot !!!

Bonne fête !
[Windows Mobile Apps and Games] tito12:
Congratulations for your new update :)

As you (maybe) remember, I passed on IPTweather because I found it too complicated and couldn't make it work despite your assistance :o

I decided to try again with this new version and managed to get it working

You can notice 2 little issues:

1 the state bubbles don't disappear (I can always move the original icons to the 4th row)

2 There are 2 identical instances of accuweather, how to get rid of one or both

All in all, great job :D:D:D

Merci
[Windows Mobile Apps and Games] michoob:
Thanks. I'm glad to see you back to IPTWeather :D.

1. The iPhoneToday API doesn't allow changing the icon type, so IPTWeather cannot make your state bubbles disappear. So yes, please move your original icons to another row if it is a problem for you :).

2. You mean there are two AccuWeather icons? In fact, one is for the City (toggle parameter IPTWdisplayCityName to show/hide this icon), and the other one is for the Observation time (left IPTWdisplayObservationTime empty to hide this icon). For the city icon, please note if there is an icon named <IPTWaccuWeatherLocation (with _ instead of |)>.<IPTWiconsExtension> in the IPTWaccuWeatherIconPath folder, it will be used. For instance, if IPTWaccuWeatherLocation=EUR|FR|FR012|PARIS and IPTWiconsExtension=bmp, then the icon used would be EUR_FR_FR012_PARIS.bmp if it exists. Otherwise, the IPTWdefaultCityIcon is used which is set to the AccuWeather.png icon by default installation. But you can set whatever icon you want :D.

With IPTWeather Killing Dragon, you can configure almost everything and do whatever you want. That's why I'm so proud of this version!
[Windows Mobile Apps and Games] tito12:
Thank for the fast answer Michoob.

You once asked me when I complained that instructions were a bit too complicated for noobs if i could make them simpler so now I have already installed successfully I did a noobs tutorial, I hope it will help someone :)

How to install IPTWeather in IPhoneToday (simple and fast)

Go to http://code.google.com/p/iptweather/downloads/list, download IPTWeather_20100929.cab and iconset "spilicons.zip" or "accuweathericons.zip"

Install the cab in device memory, unzip the iconset and move the folder to "\Program Files\IPTWeather"

Find "weather.ini" and copy it to your desktop, open it with notepad for configurations

Basic configurations:

1- Look for this line "IPTWaccuWeatherIconPath=\Program Files\IPTWeather\accuweathericons" and change it if needed to "IPTWaccuWeatherIconPath=\Program Files\IPTWeather\spilicons"

2- Change "IPTWaccuWeatherLocation=EUR|BE|BE003|BRUSSELS" with your city code, for the codes go to http://www.accuweather.com/rss-center.asp , Choose a location and press "Set", in the 2nd field you'll find something like "http://rss.accuweather.com/rss/liveweather_rss.asp?metric=0&locCode=MEA|IL|IS005|TEL AVIV" copy and paste the end of the line over "EUR|BE|BE003|BRUSSELS"

3- "IPTWhideNightForecastIcons= " I set the value to 1 to remove night icons

4- "IPTWmondayText="Lu: "

IPTWtuesdayText="Ma: "

IPTWwednesdayText="Me: " etc....

Change to your language, "Lu: " to "Mon: " etc...

5- "IPTWcurrentWeatherIconTextPattern=%PT% (%PRFT%)" you can remove the function with the brackets to prevent long text overlapping

6- "IPTWforecastWeatherIconsTextPattern=%SDAY%%PT% (%PRFT%)" same as above

This is it, save "weather.ini" and move it back to device, replacing the old one.

One last operation, launch IPhoneToday and configure the 1st icon on the 1st page (note that if you have something else than a blank icon you'll have to copy it first to another place)

Long press on it, choose "Edit icon", in "Execute" field navigate to "\Program Files\IPTWeather\iPhoneTodayAccuWeather.mscr". In "Image" navigate to "\Program Files\IPTWeather\spilicons" or "\Program Files\IPTWeather\accuweathericons" and select "AccuWeather.png", save and exit.

Now you can reset your device, connect to Wifi and press your new IPTWeather icon. You should get now a weather icon with current temp and below 5 more days forecast. If everything is working you can return to configure "weather.ini" with it endless possibilities.