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

New version released with one new cool stuff for the IPTWforecastStartPage setting ;)!

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

added the "header:" prefix for the IPTWforecastStartPage setting so you can set the page header name instead of the page number (very usefull if you which to move your iPhoneToday weather page around...)

now working weather background for iPhoneTodayDesktop

corrected bug that the goToAccuWeather question was displaying empty dialog box.

corrected bug that the error icon was not displayed in iPhoneToday on current weather icon when there were update errors (rather rare...)

code improvement (use of += 1 instead of = ... + 1, less duplicated code, added some tests)

optimized checking for a live connection

updated to iniEditor_v05

Enjoy!

:D
[Windows Mobile Apps and Games] shindin.j:
Thanks for your kindly sharing.
[Windows Mobile Apps and Games] aiiro:
Sorry but after reading thru 2 installation guides, the FAQ and all the search results, I still cannot get IPTW to show weather wallpaper in iPhoneToday. As far as I understand, I need to set the values for:

IPTWS2U2WallpaperExtension=png

IPTWS2U2WallpaperPath=\Program Files\IPTWeather\AccuWeatherHD\

IPTWdefaultS2U2wallpaper=dunno

IPTWtodayForecastInS2U2Wallpaper=0

I don't understand why I am not getting the weather icon as wallpaper in iPhoneToday :'(

I have cooked in Mortscript but I reinstalled it like was suggested in FAQ. After that I got location working and I also have an empty icon in iPhoneToday showing the current temperature, but sadly, no wallpaper...

Please help.

Thanks.
[Windows Mobile Apps and Games] michoob:
@aiiro: it is because you haven't read the weather.ini.desc file yet... :p

Try to set IPTWuseS2U2wallpaperForBackground=1 now to have weather wallpaper in iPhoneToday...

You can also configure IPTWeather using the config script which is in the Start menu, then IPTWeather, 'IPTWeather Config'. You'll find a explanation for each parameter in a user-friendly interface ;).
[Windows Mobile Apps and Games] aiiro:
Thanks for a quick reply. With all due respect, I uninstalled the app just in case, restarted, reinstalled and configured the following:

IPTWS2U2WallpaperExtension=png

IPTWS2U2WallpaperPath=\Program Files\IPTWeather\AccuWeatherHD\

IPTWdefaultS2U2wallpaper=dunno

IPTWtodayForecastInS2U2Wallpaper=-1 (or whatever I set this, it won't help)

IPTWuseS2U2wallpaperForBackground=1

Are there any other settings that I should set and to what? All the configuring was done via the shortcuts in IPTWeather folder in the Start menu. I noticed the descriptions there, it was helpful as tips, but not technically as I still can't get it to work :) I also read thru the weather.ini.desc file but didn't find anything else relevant there that I already hadn't tried. The bottom line is, I still can't get the weather shown as wallpaper in iPhoneToday :confused:

Also, I don't consider myself a moron (but please do correct me if I am wrong), but it's really hard to understand how all the scripts work together. For example, I push the "Start IPTWeather" shortcut in the Start Menu, but nothing happens... And there are bunch of scripts in the \Program Files\IPTWeather folder. In order to understand what they all do I should read the scripts but that would be a bit overkill I think just for getting stuff to work... I mean, how should I know what are "iPhoneTodayAccuWeather.mscr" or "startAccuWeather" or "getAccuWeather.mscr"? I propose that an intro / eplanation what they do for each script should be written for them so at executing this will be displayed and asked if user really wants to run it or not. I get sometimes 5 icons on my page 1 of iPhoneToday and sometimes just 1 icon and I don't know which script does that... It's really confusing... :'(

Could You please add a step-by-step description to tutorial, how to get the current weather shown as iPhoneToday wallpaper? Or, if You don't have the time for that, could You please take a look at my weather.ini file (attached) and make the neccessary changes? I would really appreciate either one, I am sure I am not alone in this...

Thanks.
[Windows Mobile Apps and Games] michoob:
You don't have to bother with scripts that are in the sys folder. These are "technical" scripts used by IPTWeather.

For other scripts, please the FAQ!

If I find some time, maybe I will review the FAQ to have better explanation, but you can find already a lot of information in there, and also in all posts from this thread!

Please also note that settings you choose are usually appied at next weather update, depending on IPTWdelayHours and IPTWdelayMinutes. Have you waited until next weather update?

Also, might be a stupid question, but do you actually have weather .png pictures in the folder \Program Files\IPTWeather\AccuWeatherHD\?

Finally, if you have a background set in iPhoneToday, then the wallpaper won't be shown, I think. Yes, background and wallpaper are two different things in iPhoneToday.
[Windows Mobile Apps and Games] aiiro:
OK, regarding scripts, thanks for explanation. And also thanks again for a very quick reply :)

Regarding the update - I didn't know that and I haven't waited. I thought if I press the "Start IPTWeather" shortcut, it also updates the weather... :) But I guess not then. Is there a possibility to manually update the weather? Should there be? :) Anyway, I set the update to 1 minute, but I am still not getting the iPhoneToday wallpaper.

I do have images in AccuWeatherHD folder, I checked that already :) I also renamed the "1.png" to "01.png" etc, I noticed that yesterday one of the icons was blank and it couldn't find "03.png", so that works now. What about the five icons appearing and disappearing, I still don't get that, one of them (I guess it's "current weather") wasn't showing any icon until I edited the favorite locations - although I didn't change the favorite location. But when I pressed it, it turned to "Tap to start" and the icon disappeared, now it doesn't do anything... When I configured the location again (but didn't change it actually), it returned the icon, but now the other four icons with day names are gone and the ones that were replaced by the weather icons are back... :confused: When I press iPhoneTodayAccuWeather.mscr, the weather icons return, but after come back, but when the weather updates itself, they are gone again and Calc and other tools return... Then I noticed the IPTWforecastStartIcon setting, so I set it to 9, but now it won't show the forecast... :confused::confused::confused:

Regarding background in iPhoneToday, I have it transparent / none set. Although I have a background / wallpaper image for Windows Today (the default Today for WM 6.5.3). I don't know if it matters, I unchecked the custom wallpaper checkbox and got the default theme wallpaper back, but still - no weather wallpaper.

Regarding the thread, I tried to search "background" but didn't come up with anything useful. I will try to search for "iphonetoday wallpaper" (without the quotes), but I think I just don't have the time to read through all 106 pages of it :)

Also, I ran a Task Manager and I don't see any mortscript.exe process running, should there be?

P.S. If I run "IPTWreloadS2U2" I get:

"Invalid main key for "RegKeyExists"

Line 161 (\Program Files\IPTWeather\sys\IPTWreloadS2U2.mscr): wallpaper = IPTWS2U2WallpaperPath \ Eval(RegRead(IPTWregRoot, IPTWregKey, "icon" & suffix & iconNum)) & "." & IPTWS2U2WallpaperExtension"

I don't have S2U2 installed, but shouldn't the reg key exist for iPhoneToday wallpaper anyway? Just a thought...

P.P.S. Maybe it would be a good idea to divide the settings (ini) into "Basic" and "Advanced" sections and redesign the user interface according to intuitive navigational behaviour processes. Although I appreaciate the huge work put into the scripts, and with no disrespect, but my case efficiently shows that intuitivity is not currently the strong side of the app...
[Windows Mobile Apps and Games] michoob:
For what does iPhoneTodayAccuWeather.mscr, again, read the FAQ.

For scripts in the sys folder, when I say they are used by IPTWeather and that you don't have to bother with them, then listen to me, and do not run them unless advised otherwise!

Only exception, to force an update, you can run the getAccuWeather.mscr script, but that is in the installation guide, isn't?

For delay to 1 minute, again, it will be in one minute AFTER the next update.

Not user-friendly enough? Yes, certainly, and this is also because you can do so many things with IPTWeather, and believe me, it is way more user-friendly to setup now than at the very beginning...

Also, last but not least, if you don't have time to read the whole thread which contains many information, then I don't have more time to answer to your questions. Fair enough? :p
[Windows Mobile Apps and Games] aiiro:
What concerns the update, I left the phone on the desk for at least 15 minutes, when I came back the wallpaper was still not there, so I guess that's tested...

About the thread... OK, fair enough. I just noticed that the feature in question is very recent and there are no posts talking about that, so looking through the thread proves to be pointless, don't You think... And since nobody has confirmed it working, I will pose the question - does it work at all? You haven't said I did any mistakes at configuring the settings. I say it doesn't work in certain conditions, I just don't know what these conditions are.

I wouldn't take it personally, but I would look at it rather than an opportunity to improve things. I mean, You say "you can do so many things with IPTWeather", but from my perspective - as an average Joe - You basically can't do anything with it... There is a reason why most of the software houses provide a way to just set the bigger, basic stuff separately from little tweaks, the advanced settings. Or provide a "level" approach - like Vuze. Apart from that, the main portion or main features of the software should work out of the box, just do what they are meant to do. I say this as a software project manager with 10 years of experience and I could go on and on about this, but I suspect a little that I might be just wasting time with it.

Therefore in conclusion, as I basically seem to be the first tester of the feature, I say the feature is buggy in some way and on my Omnia Pro it doesn't work.

I just did a hard reset and will try everything peacfully from the beginning, but I suspect I won't get any further as I have no suspects for interference. I just think maybe some installation went wrong or smth. I could post results if You are interested, but since You said You don't have time... I am not sure about that.

P.S. Would You make it work for me if I donated 10$ ? :)
[Windows Mobile Apps and Games] michoob:
Nope, not tested, because by default, the delay is set to 2 hours, so your changes will be effective only after 2 hours if you have followed the installation steps.

Or, they can be effective immediately if you run the getAccuWeather.mscr script.

Nope, you are TOTALLY WRONG!

The feature is here for very long.

In the latest version, I just added the feature to work with the iPhoneTodayDesktop.exe version.

Which version of iPhoneToday do you use? DLL, standard exe, or desktop exe?

Yes it works, I am always testing IPTWeather before any release.

I must admit the setting name is confusing in IPTWeather, because it is actually the wallpaper of iPhoneToday that is updated, not the background...

So you have to ensure that in the Screen tab of iPhoneToday, in Background Settings, you have nothing set, and then, in the Wallpaper tab of iPhoneToday settings, you will have a Wallpaper set by IPTWeather: it is your work then to set the Zooming factor to something different than 0, and so on.

Again, I must admit the configuration is not that well explained for this part, so sorry than I've been rude, but I hate people that are not reading threads before posting. This is the basic rule in any forum!

I've not said you made any mistake, because I've not really looked at your settings... :p

Yes, you are certainly right, and I am opened to any suggestion.

Please note that the weather.ini file that is in the cab in the one I personnaly use.

Also I think I will change the name of the link 'Start IPTWeather' to 'Start IPTWeather auto-update', because that is what it does actually, it just schedules a next update.

I think I will also add a link 'Force IPTWeather update' to the getAccuWeather.mscr script, and also other links to all the scripts that can be run on their own.

Ok, you are a 10 years experienced project manager, so you have probably a lot of things to teach me. But don't forget that I am here just sharing a work I first did for myself, for free and not for a living...

This would be motivating and very welcomed for sure :p.

But I can tell you already that IPTWeather works like a charm and I cannot find any bug for 3 weeks, and any major bug for several months...

Also, for your information, I am currently slowly working on porting the setting interface to use JMLMenuSense. Wouldn't that be sexy? ;)

Then, while I'm working on this, I can of course change some things to make IPTWeather easier to use.

Finally, to answer to your question on why there is no MortScript.exe running all the time, I would say "hopefully"! It is just because I use System Notifications to trigger IPTWeather every some time. You can see those notifications with DotFred's TskMgr ;).
[Windows Mobile Apps and Games] uberto.costanzo:
Hi Michoob, sorry for disturb, i have install now iptw but i can display only today but not lu-ma-me why?

thanks sorry for my english
[Windows Mobile Apps and Games] michoob:
@uberto.costanzo: run the iPhoneTodayAccuWeather.mscr script. I advise to have this script called from the current weather icon.
[Windows Mobile Apps and Games] uberto.costanzo:
tanks for reply but i have run iPhoneTodayAccuWeather.mscr script and is select at the first icon in "execute" all work also in S2U2 but only for 1 day why? were is my error? thanks
[Windows Mobile Apps and Games] michoob:
IPTWeather uses the icon API of iPhoneToday which can update icons only on existing icons. It cannot create new icons, so you have to make sure that you have icons in iPhoneToday (even blank icons) for each weather icon that will be displayed.
[Windows Mobile Apps and Games] uberto.costanzo:
API=ruan, weather page= 3 i have 6 blank icon in this page but only 3 when i download data change with accuweathericons where is my error please

tanks for reply
[Windows Mobile Apps and Games] michoob:
You need 12 blank icons with the ruan API.

Also, maybe the weather has not been updated for several days... try to run the getAccuWeather.mscr script from the sys folder.
[Windows Mobile Apps and Games] uberto.costanzo:
tanks now work and is very beautifull i have today lu ma and me thanks bye
[Windows Mobile Apps and Games] uberto.costanzo:
the update is automatic? tanks
[Windows Mobile Apps and Games] michoob:
The update is automatic, every IPTWdealyHours hours + IPTWdelayMinutes minutes.

EDIT: @uberto.costanzo: IPTWiPhoneTodayClassName is in "Script settings" of IPTWeather.
[Windows Mobile Apps and Games] uberto.costanzo:
tanks and sorry for my error but i have see tito12 folder...

tanks
[Windows Mobile Apps and Games] bismuth89:
I have a question:

Is it possible to add some blank space at the beginning of IPTWS2U2UserWeatherTextPattern? I want the text to be displayed a little bit to the right of the screen. But when I tried

IPTWS2U2UserWeatherTextPattern= %CT% Hi: %HT% - Lo: %LT%

The text is still started from the far left, no blank space at the beginning of the line like I want :(

Or is it possible to have the text of IPTWS2U2UserWeatherTextPattern display in the middle (center) of the screen?

I tried to search the thread but couldn't find an answer, pls help me w this, thanks a lot :)
[Windows Mobile Apps and Games] michoob:
Try this, it should work ;):

IPTWS2U2UserWeatherTextPattern=" %CT% Hi: %HT% - Lo: %LT%"

Nope, S2U2 limitation, sorry... :(
[Windows Mobile Apps and Games] bismuth89:
Thanks a lot for the fast reply, it works :D Also thank you for this great little program ;)
[Windows Mobile Apps and Games] michoob:
iPhoneTodayAccuWeather.mscr displays/hides forecast icons.

When icons are being hidden, iPhoneTodayAccuWeather.mscr also check the last update time and if the delay is greater then IPTWforceDelayHours + IPTWforceDelayMinutes, then it will ask the question IPTWupdateWeatherNowQuestion, or not question if IPTWupdateWeatherNowQuestion is blank, to allow an update or not.

Anyway, when icons are being hidden, iPhoneTodayAccuWeather.mscr also reloads all the settings but the next scheduled update.

iPhoneToday limitation: no transparency supported for wallpapers and backgrounds. Sorry.

That's what I personnally do when I'm trying new stuff, even if there are 900 pages. Thanks to that, I almost never ask questions, and pretty rarelly already asked and answered questions ;).

I've actually worked on front office tools which implies a bit of IT support... :p

Me too.

It is not your critism that I criticised, but more the lack of searching the answer by yourself, even I must admit there is something to improve on the user-friendlyness of setting the weather wallpaper in iPhoneToday ;).

In [iPhoneToday settings]:

Set IPTWhideNightForecastIcons=1 to show only day forecasts.

Set IPTWdisplayCityName=0 to hide the city icon.

Set IPTWdisplayObservationTime to blank not to display the last update time.

Set IPTWforecastStartPage the same as IPTWcurrentWeatherPage.

Set IPTWforecastStartIcon equal to IPTWcurrentWeatherIcon + 1. For instance, if IPTWcurrentWeatherIcon=0, set IPTWforecastStartIcon=1.

In [General settings] :

Choose for IPTWaccuWeatherAPI an API that has only 3 days forecast (like greek I think) and not 5 (like the ruan API).

Partly explained in the beginning of my post here.

Please note iPhoneTodayAccuWeather.mscr will not display weather for past days, so if your last update is 2 days old for instance, it will show you less forecast days.

Not exactly.

If you don't use S2U2, then setting IPTWtodayForecastInS2U2Wallpaper=0 or 1 is the same.

If you set IPTWuseS2U2wallpaperForBackground=1, you will have the same iPhoneToday wallpaper as in S2U2, as defined in the IPTWtodayForecastInS2U2Wallpaper setting. No problem if you have not installed S2U2.

For the difference between 1 and -1 for IPTWtodayForecastInS2U2Wallpaper setting, it is described in the weather.ini.desc file, or in the 'IPTWeather Config' script...

If you set IPTWtodayForecastInS2U2Wallpaper=-1, you will have the same effect for the iPhoneToday wallpaper if you have set IPTWuseS2U2wallpaperForBackground=1.

Me neither.

But replying to your questions is also a part of my FAQ, that's why I can spend some time to reply to questions so other users can have also a benefit out of it ;).

Once you have successfully, or not, configured IPTWeather, I'll be glad to read your feedback on how we could improve IPTWeather for more user-friendlyness. :)
[Windows Mobile Apps and Games] aiiro:
First I wanna say big thanks for answering my questions. I felt grateful enough, so I made the donation :) Although PayPal wouldn't let me change the currency so I had to made it in €. I also set everything as You suggested, including the greek API. But now more questions arose... :)

When IPTWdisplayCityName=0, I still get the city name as 5th icon. When I now click the icon with @time, the city name turns to @time as well, although it displays a different time. Also, the "Ma" icon, when clicked, shows a dialog box with header "Me: day" instead of the "Ma: day" dialog box it showed before, and all the weather icons are different. When I click on @time again, the effect is reversed and I get correct dialog boxes again. When I set IPTWdisplayObservationTime also to 0, I get the same effect without the city name changing to @time. Then I edited the weather.ini file in order to get "Tu", "We", "Th" instead of "Ma", "Me", "Je", which are a bit confusing for me. Now I ran getAccuWeather.mscr and I don't get French day names anymore, the only effect when clicking on @time icon is that "We" and "Th" change places, and when clicked again, they change back. Weird...

So in conclusion, I cannot seem to make the city and time disappear, even though both the settings You suggested are set to 0. And then there's the "We" and "Th" changing places when @time icon is pressed (or, to be more exact - iPhoneTodayAccuWeather.mscr is ran). And - current condition icon is different from wallpaper... Current icon shows current conditions and wallpaper shows today's forecast? Or...

I would really appreciate if You could figure out the odd icons behaviour and the "sticky" city and time icons.

What concerns the interface, I would be glad to help out as much as I can, but since I have two small kids, I don't have much spare time. They are currently "my project" :) And I really try to spend as much time with them as I can, which I still think is not enough. But I am sure as Your project matures, You will have some ideas on Your own. But what I could do is write a small description of the process and provide some samples how I would approach this, if You'd like that.

P.S. I forgot to mention this, but when I made the hard reset, I installed first Mortscript, then iPhoneToday and then IPTW. After I installed it, it made the iPhoneToday disappear in WM Today settings, so I had to reinstall iPhoneToday. Just thought You might wanna know.
[Windows Mobile Apps and Games] michoob:
Thank you :D.

You have for sure edited some icons while the weather forecast icons where displayed.

Then, when you have saved the icon settings, iPhoneToday has also saved all weather icons into the icons.xml file.

Thus, the icons are still with the previous behaviour, which seems strange to you but which is not that strange actually.

I would advise you to start for a new or backed up icons.xml file (in the iPhoneToday folder), and you will see that it actually behaves as expected.

I know, this is an annoying behaviour, and I tried to make tronikos change iPhoneToday not to save "temporary" icons in any case, but he said he will not change this, probably because it would result in huge recoding... sorry.

It works, as per my comment above.

Who said current condition would ever be showed as wallpaper?

In the wallpaper, you can only show today or tomorrow weather, not current weather ;).

Do you appreciate my comments above then? :p

Seriousely, again, sorry that you will have to reconfigure your icons in iPhoneToday, but this is due to iPhoneToday limitation.

I would really appreciate.

As you said, time is the problem, and I am already spending too much time on this today, and there will be consequences in my own life...

IPTWeather is not responsible for this as it does not change any WM Today related settings. Are you sure you accepted to install the Today version of iPhoneToday at your first installation of iPhoneToday when prompted? I doubt it...

Sorry to seem rude sometimes, but I'm really confident in IPTWeather, just because I'm deeply using it :).
[Windows Mobile Apps and Games] bismuth89:
I'm having a problem, it's been bugging me for some days:

The data update for my city seems to be not accurate (or it's data from some hours before).

My city is Hanoi, Vietnam, it's 11:35pm now, and I just ran getaccuweather.mscr, but %TXT% still shows: Partly sunny, the icon shows the sun with cloud (should be moon now right?).

To make sure I chose the right location, I ran IPTWeatherlocation.mscr, and chose my city: Hanoi, Vietnam again, and click Yes when asked to update weather now, but the result is still the same, weather's still sunny when it's very late at night now.

I think it maybe becos accuweather haven't updated the data for my city, but going to accuweather.com by web browser, the data is right: clear night with a moon icon, temperature is also different from what %CT% in IPTweather is showing in my S2U2 screen.

Can you pls explain this situation for me? Thank you :)