yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] michoob:
Quickly:

- I do have MortScript 4.3b15

- to avoid the shifting, while "IPTWforecastDaysToSkip"=0 and "IPTWforecastIconSkipFirstAtSunset"=0, make also sure to set "IPTWaccuWeatherAPI=samsu" so IPTWeather can have enough days in the cache to actually avoid it... ;)

- for the background, "IPTWuseS2U2wallpaperForBackground=0" means disabled. I'll have a deeper look and test into it and let you know.

- for the connection, hum..., might be that MortScript hangs in the Connect function call if your ISP server has issues. You could try to use VJVolubilis to connect then, as it works better than the Connect function of MortScript. See the General settings for more help on VJVolubilis (download link and setting ;)).

Thanks for your feedback and I'll let you know after some tests ;)
[Windows Mobile Apps and Games] michoob:
For all settings which have 0, 1 or -1 triggers, 0 means disabled.

I've tested the shifting, and you are right, there is a kind of bug when sun has set and before midnight...

Please find attached a corrected iPhoneTodayAccuWeather.mscr script to correct this to replace the current one in the IPTWeather folder.

I am also re-attaching the other fixes I already sent you so you can have all in the same post.

I am still testing your IPTWuseS2U2wallpaperForBackground issue, but it is working on my device.

Question: where have you installed iPhoneToday? On device's memory or on the Storage Card? If on the Storage Card, it might be that when IPTWeather triggers an updated, your device is in a sleep mode with no access to the Storage Card, thus, IPTWeather would not find the iPhoneToday\settings.xml file and so would disable the IPTWuseS2U2wallpaperForBackground feature...
[Windows Mobile Apps and Games] aiiro:
Thanks for the updated file!!! :) I am currently at work, but I will test in the evening.

As for iPhoneToday, it's installed in the default location, that is in Program Files in the device memory.

About the "IPTWuseS2U2wallpaperForBackground" - I have no problem with that, I have set it to 1 and it is showing the weather in the background (provided that I haven't set any wallpaper in iPhoneToday). The reason I asked about "IPTWtodayForecastInS2U2Wallpaper"=0 (in S2U2 settings) is that while "IPTWuseS2U2wallpaperForBackground"=1 and "IPTWtodayForecastInS2U2Wallpaper"=0, I am still getting the background wallpaper weather in iPhoneToday - but when "IPTWtodayForecastInS2U2Wallpaper"=0, is it supposed to display the wallpaper weather at all? Or if it is, is it current day forecast, current weather or something else? :)
[Windows Mobile Apps and Games] michoob:
When "IPTWtodayForecastInS2U2Wallpaper"=0, no weather wallpaper will be displayed in S2U2. It has nothing to do with iPhoneToday ;).

About your issue with IPTWuseS2U2wallpaperForBackground, which you say it is not an issue any longer, I thought that your weather wallpaper was not updating into iPhoneToday, was it?

Although, I thought you wanted to display current weather and not today's weather forecast in the iPhoneToday wallpaper.

To display the current weather in the iPhoneToday wallpaper, you should set "IPTWuseS2U2wallpaperForBackground=-1".

To display the today's forecast weather in the iPhoneToday wallpaper, you should set "IPTWuseS2U2wallpaperForBackground=1".

Anyway, if the wallpaper thing is solved on your side, then the latest iPhoneTodayAccuWeather.mscr script I attached today in my previous post should solve your shifting issue.

We do have a fully working IPTWeather for your needs then.

If you can confirm that, I'll try to find some time to pack all the changes into a new cab.
[Windows Mobile Apps and Games] aiiro:
Sorry I haven't been able to find the time meanwhile to test, but I am sure it will work. I just wanted to say that I feel quite ashamed because all this time I have been testing and trying to set "IPTWtodayForecastInS2U2Wallpaper" to -1, not "IPTWuseS2U2wallpaperForBackground" to -1, therefore I feel quite stupid :) It pays off to read instructions more thoroughly, I really don't know how or why I have misread that important piece of information.

I will try to test all things relevant in near future, hopefully not later than in the weekend, and report back.
[Windows Mobile Apps and Games] michoob:
LOL, no problem, that's the issue with an app like IPTWeather with so many features and possible settings... ;)

I'll be on holidays tomorrow for two weeks, so don't be surprised if I do not answer quickly...

Cheers.
[Windows Mobile Apps and Games] calatino:
IPTWeather_20110621.cab error download

I have downloaded last IPTWeather_20110621.cab and doesn't seems to be valid search new location. What's the solution?:confused:
[Windows Mobile Apps and Games] michoob:
@calatino: small bug in the last version, that the manage location script of IPTWeather might not create a new connection. Just start your data or wifi connection before searching for your new location and it should work. I will correct this at end of August back from holidays.
[Windows Mobile Apps and Games] michoob:
Good news, I'll eventually have the time this week-end to compile a .cab with the few changes I have posted since version 20110621.

Stay tuned!
[Windows Mobile Apps and Games] Xcodee:
Really cool collection of icons thank you very much .....
[Windows Mobile Apps and Games] michoob:
IPTWeather_20110910

New version available!

What's new in the latest version which is IPTWeather_20110910:

Corrected iPhoneToday icon shifting when sun has set and before midnight.

Corrected bug that manage location might not be able to connect or detect active connection.

Added option IPTWuseS2U2wallpaperForBackground = -1 to show current weather in iPhoneToday wallpaper

Enjoy! :D
[Windows Mobile Apps and Games] Akwangwu:
does anyone here has windows CE PNA version for this weather? I think it looks great :)

Thanks
[Windows Mobile Apps and Games] michoob:
Hi Akwangwu, what do you mean with your question?

Cannot IPTWeather install on your device?

Do you already use iPhoneToday or S2U2?
[Windows Mobile Apps and Games] Akwangwu:
hi Michoob, thanks for your quick response.

I meant my device is PNA not windows mobile device, I have tried it but some error message available when execute getweather.mscr, the message as follow:

Error:

Sub must not be in control structure

Line460(Iphonetoday\weather\getweather.mscr):

Sub getValue

any suggestion or advice maybe?

Thanks in advanced :)
[Windows Mobile Apps and Games] michoob:
Yes, I have understood your device is a PNA and not Windows Mobile device.

Still, IPTWeather is useless without iPhoneToday or S2U2, that's why my question...

I guess you use the PNA version of iPhoneToday. Am I right?

As for the error you get, it is probably due to the version of MortScript you have installed. Which version of MortScript have you installed on your device?

As written in the installation steps, you must use MortScript 4.2 or 4.3b15.
[Windows Mobile Apps and Games] Akwangwu:
Yes, you are absolutely right, I'm using PNA version. this version is not compatible you meant?

Mortscript 4.3b11.

Thanks
[Windows Mobile Apps and Games] michoob:
@Akwangwu: I've made a search on the Internet, and it seems that PNA devices must use MortScript 4.2 because the 4.3 versions are too bugged (no final version in 4.3 but only betas...).

Similar problem reported here by a PNA user with MortScript 4.3b15 who reported here that his "Sub must not be in control structure" issue was solved with MortScript 4.2 as advised here that you must use MortScript 4.2 with WinCE6.
[Windows Mobile Apps and Games] michoob:
@Akwangwu: I've found even a better solution if you want to stick with MortScript 4.3 (which runs faster than 4.2) on your PNA device!

We have great developers out there, and some of xda famous developers (Osprey, jwoegerbauer and TroNik - known tronikos on xda ;) -), especially Tronik actually, have debugged MortScript 4.3b15 to correct the "Sub must not be in control structure" bug.

So I would suggest either you install MortScript 4.2 or you install MortScript 4.3b15 and then copy Tronik's patched MortScript.exe (available here: look for MortScript.exe) to the following three locations:

1. root of SD/Flash where existing MortScipt.exe is

2. \MioAutoRun\Scripts

3. \MioAutoRun\Programs\MortScript
[Windows Mobile Apps and Games] michoob:
Just for fun, I just added a poll to check whether you agree IPTWeather is the best weather plugin for iPhoneToday or not.

:D
[Windows Mobile Apps and Games] Akwangwu:
hi Michoob, thank you so much, I have replaced mortscript.exe file that I downloaded from your link, it seems ok, no error found and 4 icons have appeared on the iphonetoday, but they have no data, when I clicked those icon, new error message appear.

Do you have some advice that what should I do to fix them?

Thank you so much michoob:)
[Windows Mobile Apps and Games] michoob:
Maybe you could be more precise on the error you get :p.

Also, could you please tell me what version of iPhoneToday have you installed?

And have you tried with MortScript 4.2? Maybe even the MortScript 4.3b15 version patched by TroNik is bugged for some features...
[Windows Mobile Apps and Games] arealityfarbetween:
Hey michoob, long time no speak!

Sorry for the "No" vote but TRITW's my baby, and I just did an update to provide more info via iPhoneToday, otherwise it'd have been a "Yes"! ;)

Cheers!
[Windows Mobile Apps and Games] michoob:
Fair enough arealityfarbetween as I did the same way for TRITW which rocks for sure too, especially for Titanium users ;), even though I really prefer the high level of customization of IPTWeather.

Cheers! :)
[Windows Mobile Apps and Games] arealityfarbetween:
TRITW is completely customisable, since version 6.1 ;)
[Windows Mobile Apps and Games] michoob:
lol, I guess I should give the new TRITW a try! :D

Still, I guess you don't have some features of IPTWeather that I like, like the "RIL2Connection map" thanks to which IPTWeather connects via Wifi when I'm at home, and via standard data connection when I am somewhere else.
[Windows Mobile Apps and Games] arealityfarbetween:
Nice feature!

Instead, TRITW only uses an existing data connection, been meaning to add an option to force it to tbh. lol.
[Windows Mobile Apps and Games] Kirill143:
это лучшая погода, спасибо ребята
[Windows Mobile Apps and Games] SanyO_79:
Hello,

i have a problem.

I can't update the weather.

I can update via Wi-Fi only.

Help me.
[Windows Mobile Apps and Games] michoob:
Hi SanyO_79, does it update if you have an active data connection?

If the problem is only when IPTWeather has to open a data connection, I would then suggest you use VJVolubilis to connect (see FAQ for more help on this).
[Windows Mobile Apps and Games] SanyO_79:
No, I connect manualy with Vodafone Wap before the update, but doesn't work.
[Windows Mobile Apps and Games] michoob:
Can you access the following URL from your Internet Browser (Internet Explorer, Opera, etc.)?

http://ruan.accu-weather.com/widget/ruan/weather-data.asp?location=EUR|BE|BE003|BRUSSELS

If yes, then IPTWeather should behave as expected.

If not, then that means your Vodafone Wap connection does not allow to download data from accuweather.com.
[Windows Mobile Apps and Games] SanyO_79:
Unfortunately i can not open the URL. :mad:

There is a solution?
[Windows Mobile Apps and Games] aiiro:
You shouldn't use WAP profile connection as data connection at all (WAP is dead anyway, although service providers often put it as primary connection so they can ask more money for it or a re just lazy updating default profiles).

You should have a different data connection profile for mobile data, like "Internet" (that means different access point) or something. If You don't understand what I am talking about, contact Vodafone helpdesk, they will surely guide You through it.

Michoob -> I haven't been able to fully use my phone as expected (still!), but I haven't forgot what I promised - the additional 5$ donation. Time flies... I will do it soon.
[Windows Mobile Apps and Games] kemeia:
Hi!!

It sems so nice I will try to use
[Windows Mobile Apps and Games] aiiro:
Michoob, I finally made the additional donation I promised :) I still haven't had time to fully implement iPhoneToday and IPTW, but this has been dragging on too long and I guess You shouldn't have to wait until I find the time. Happy new Year!
[Windows Mobile Apps and Games] michoob:
Thanks aiiro. Best wishes for 2012 to you too.

I hope you can eventually implement iPhoneToday and IPTWeather and enjoy them!

I got a f***ing Blackberry paid by my work, so I am almost no longer using my Touch HD Windows Phone, so I hope IPTWeather suits your needs now, because I will be hardly working more on it from now on...
[Windows Mobile Apps and Games] zephyr1100:
Hy,

I just discovered that very nice program. If I may, I want to integrate it into future themes that I will create with XIAMultitheme. And as I'm German I kindly ask, if there are any German language files available or scripts that change the reg entries to German. On the first screenshot on this thread's 5th page it seems to be as I want it, but I cannot find the files. Would somebody please give me a hint?
[Windows Mobile Apps and Games] michoob:
To have the weather in German, just set IPTWtranslationLanguageCode=de in [General settings] of IPTWeather via the 'IPTWeather Config' link in the Start Menu ;).

You can find an overview of all available settings of IPTWeather in the Wiki or some more help in the FAQ.

Still, IPTWeather is designed to work with iPhoneToday and S2U2, so I do not know how you can use it with XIAMultitheme, but I will be glad to help you a little.
[Windows Mobile Apps and Games] zephyr1100:
@michoob

thank you very much for your help. That was the hint I needed!

But I'm afraid there is one little issue left:

In German language we have funny letters like "Ä", "Ö", "Ü", "ä", "ö", "ü" and "ß".

Those letter are being replaced by even funnier ones, such as "Ã–", "Ã„", "Ãœ" "Ã¼", "Ã¶", "Ã¤" and "ÃŸ"

That makes translation of "cloudy" to "bewÃ¶lkt" instead of "bewölkt".

Do you have any idea to solve that? In the FAQ I found that:

Q: How to replace strange symbols by good ones: Ã± by ñ, Ã¡ by á, Ã³ by ó, Ã by í, íº by ú, í‘ by Ñ, Ãº by ú, í© by é?

A: In the sys folder, edit the ini file of your language and set the following first line (see fr.ini for an example):

ReplaceMap=Ã±,ñ,Ã¡,á,Ã³,ó,Ã,í,íº,ú,í‘,Ñ,Ãº,ú,í©,é

I don't find a de.ini file or a ger.ini in my root. Should I add that in the eng.ini?

EDIT: added "ReplaceMap=Ã–,Ö,Ã„,Ä,Ãœ,Ü,Ã¼,ü,Ã¶,ö,Ã¤,ä,ÃŸ,ß" in eng.ini. That works for S2U2 texts, but the registry entries i.e. "HKCU\Software\iPhoneToday\AccuWeather\textD0" still show up like before (bewÃ¶lkt).

And these reg entries are the ones I want to read out by XIAMultiTheme :-(
[Windows Mobile Apps and Games] michoob:
You have probably setup IPTWlanguageFile=eng.ini and that is why you cannot find the de.ini file.

Anyway, you noticed well that all this will only replace the symbols in the data displayed by IPTWeather, and not the registry values.

I cannot really help as IPTWeather is not meant to be a weather API... But feel free to edit my code so it suits your specific need, and I can try to answer to some of your questions.
[Windows Mobile Apps and Games] zephyr1100:
@michoob

thank you very much for your assistance. I think I got it now. I wrote a script which reads out the icon-numbers in the registry, translates them into German weather descriptions and creates according new registry entries.

Now I can work on my new theme(s).

IPTWeather seems to be the perfect match for my needs.

So thanks again...
[Windows Mobile Apps and Games] zephyr1100:
Hy michoob,

here you can see a screenshot of my new theme's weather page using your IPTWeather. It works like a charm. All credits to you for this great application and thanks again...
[Windows Mobile Apps and Games] michoob:
Hi zephyr1100, I'm glad you are enjoying IPTWeather.

Have you voted in the poll to show your satisfaction? ;)

Cheers!
[Windows Mobile Apps and Games] Slavoo71:
Please update in first post this: http://xdaforums.com/showpost.php?p=4776841&postcount=539

Links dead.

Animated weather.

Thanks.
[Windows Mobile Apps and Games] michoob:
Hi Slavoo71, I've quickly changed few links with new screenshots gathered from the Internet. Sorry but I am barely using my Windows Phone for 2 years, and I won't have time to properly update the whole post.

I guess I would even no longer be able to debug anything nor help much on my own app now that it's been almost 3 years I released the last update :p.

Anyway, I hope you'll enjoy!
[Windows Mobile Apps and Games] michoob:
New version 20100125

New version's up!

The main objective of this release is to improve the speed the icons display and refresh, and also to make it easier to configure the text shown in the S2U2 slide text, especially if you want to use a different language than english.

[COLOR="Blue"]Latest version is IPTWeather_20100125:[/COLOR]
- Removed duplicated code sections by creating "sub" scripts => easier code maintenance + faster scripts!
- New setting IPTWlanguageFile in the weather.ini file: put in the name of an ini file containing the "Weather description translation" section. You'll have to cut and paste the old "Weather description translation" section from the weather.ini to this new ini file, so the weather.ini file is smaller and the scripts get faster. By default, you have IPTWlanguageFile=eng.ini.
Thanks to this, you can easily set different languages displayed in the S2U2 slide text, especially if different users share their language file ;)

Enjoy!

And don't forget to buy me a beer if you like my work :D
[Windows Mobile Apps and Games] chancer63:
Thank you, I will try.

Question: Is it possible to change the Today- Wallpaper as well?

CU
[Windows Mobile Apps and Games] michoob:
@chancer63: yes, since the version 20091229b, you can use a weather Today wallpaper : just set IPTWuseS2U2wallpaperForBackground=1 in the [User settings] section of the weather.ini file.

If you're using the exe version of iPhoneToday, then don't forget to set IPTWuseExeIPhoneToday=1.

IPTWeather_20091229b:
- Added IPTWuseExeIPhoneToday=1 to make work the [B]IPTWuseS2U2wallpaperForBackground[/B] setting even with the exe version of iPhoneToday

IPTWeather_20091229:
- At last working and deeply tested the new feature [B]IPTWuseS2U2wallpaperForBackground[/B]
[Windows Mobile Apps and Games] NeuronNetwork:
ciphone c6 is using modified s2u2 for sliding locking screen.. yes we can integrate this into ciphone.. currently ciphone is using custom application that they built to handle all these menu-icons.. the clock icon is updated in tandem with hardware clock..
[Windows Mobile Apps and Games] chancer63:
You misunderstood. I didn't mean the iPhoneToday wallpaper. I meant the original Windows Mobile Today Wallpaper. The registry entry shoud be here:

HKCU\Software\Microsoft\Today\Wall

I'm sorry for not stating that clearly enough.

CU
[Windows Mobile Apps and Games] michoob:
Then, if you use the S2U2 feature of IPTWeather, you should be able to use the Use Weather feature of S2U2 in ciphone C6.

But I won't do any specific dev for ciphone, so either it works, either it doesn't, because I don't have a ciphone C6, so I just cannot test anything...
[Windows Mobile Apps and Games] michoob:
Ok, I will have a look at this.
[Windows Mobile Apps and Games] s60nia:
I've been on a quest to ONLY update the "slide to unlock" text on s2u2 with the current weather conditions. Installing your script is the closest I've been to ONLY completing this objective. I only want to update the text with current conditions (NOT wallpaper and NOT forecast icon).

I've messed with the .ini and I've gotten it to where it will update, but only if I restart my phone. (startaccuweather is in my start up folder)

Can you post a script that will only update the text and nothing else? Or can I already do this (I'm just missing out something) and do I have to set anything a certain way in s2u2?
[Windows Mobile Apps and Games] michoob:
If you want to have only the update of the "slide to unlock" text on s2u2 with the current weather conditions, then, you should have in your weather.ini files the following configuration parameters set as below:

[User settings]
IPTWiPhoneTodayDisabled=[B]1[/B]
;Set this to 1 if you don't want to use iPhoneToday

[S2U2 settings]
IPTWtomorrowForecastInS2U2UserWeather=[B]0[/B]
;If set to 1, then IPTWeather will use the UserWeather feature to display wheather in S2U2. Weather pictures must be in the gfx\weather folder of S2U2. Picutre names have to be the same as for accuweathericons, but without the 0 behind the digits, i.e. not "01.png" but "1.png", and the AccuWeather icon has to be "10000.png" instead of "AccuWeather.png".

IPTWtodayForecastInS2U2Wallpaper=[B]0[/B]
;Set this to 1 to show the current day (or night if sun has set) forecast as S2U2 wallpaper.

IPTWtodayForecastInS2U2Text=[B]1[/B]
;Set this to 1 to show the current day (or night if sun has set) forecast description as S2U2 slide text.

To start the update cycle of IPTWeather, you need indeed to run the startAccuWeather.mscr script once, for instance when you restart your phone if you put the script in your Start Up folder.

If you think you're missing something, please post your weather.ini file and I'll have a look at it. :)
[Windows Mobile Apps and Games] michoob:
I don't know why you needed to make a hard reset, but if it's working now, that's good :).

Concerning the S2U2 slide text, yes, it is normal.

The S2U2 slide text is the current day (or night if sun has set) forecast, but really the current day one.

So when it's past midnight, you are the next day, and the sun has not set yet (in fact, it also hasn't risen yet...), so it's showing the current date day forecast.

And before midnight, but after the sun has set (according to accuweather.com data), you'll get the current night conditions.

You never get the current conditions in the S2U2 slide text, but only the forecast for current day, or night if sun has set and if it is before midnight.
[Windows Mobile Apps and Games] s60nia:
Thanks for clearing that up. The script seems to be working as advertised now. Great work!
[Windows Mobile Apps and Games] s60nia:
The application has been working very well, but now it seems like every time the script updates the registry with a new forecast, s2u2 & ilock2 close. I'm running S2U2 2.30. Haven't tried any earlier version yet with the script. Anyone else getting this?
[Windows Mobile Apps and Games] michoob:
Hi, I'm using IPTWeather together with S2U2 v2.30, and all is working fine.

When there is a new forecast, the script restarts S2U2 so the slide text and the wallpaper can be updated.

Doesn't S2U2 restart on your phone? Have you changed some S2U2 settings recently?

Try to restart your phone once perhaps...
[Windows Mobile Apps and Games] bluenote73:
I just installed this with iphonetoday 1.4, set weather.ini settings, and ran the script to get/search/set location from accuweather, then my phone locked up, and on soft reset iphonetoday doesn't launch (well, nothing displays) and I cannot get any response from start menu or anything else. About only thing I can do is connect USB and access files.

Can someone educate me on what might have been changed? I have replaced my icons.xml with a backup just in case, and other than that, I have renamed the IPTweather dir, but so far luck in getting my phone back.

Could this have something to do with mortscript notifications?

What does the location script do exactly?

thanks for any help

EDIT: After another reinstall, I'm convinced there's an incompatibility. Everytime I run the script(s), iphonetoday breaks and stays broken until I reinstall it.

As well, I get a "root" error (?) from trying to run the startaccuweather.mscr ?