yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] chancer63:
I cannot bring IPTWuseS2U2wallpaperForBackground to work.

I put in some "Message ( variables )" commands to locate an error but they don't show either. I will look into that tomorrow, I think.

Thanks for now.

CU

PS: I got lost in a lot of IFs and ELSEs.....

I cut a piece of code out, just as a proof of work, changed it a bit and it DID work as a seperate Mortscript:

wallpaper = RegRead ("HKCU","Software\A_C\S2U2\","Wallpaper")

IPTsettings = ReadFile("\iPhoneToday\settings.xml")
wallpaperStartPos = Find(IPTsettings, "<wallpaper>") + 11
#message(wallpaperstartpos)
#message(wpold)
wallpaperEndPos = Find(IPTsettings, "</wallpaper>", wallpaperStartPos)
oldwallpaper = SubStr(IPTsettings, wallpaperStartPos, wallpaperEndPos - wallpaperStartPos)
IPTsettings = Replace(IPTsettings, "<wallpaper>" & oldwallpaper & "</wallpaper>", "<wallpaper>" & wallpaper & "</wallpaper>")
# IPTsettings = Replace(IPTsettings, "<staticWallpaper>0</staticWallpaper>", "<staticWallpaper>1</staticWallpaper>")
# IPTsettings = Replace(IPTsettings, "<backTransparent>1</backTransparent>", "<backTransparent>0</backTransparent>")
#save the old settings.xml as backup
Copy( "\iPhoneToday\settings.xml", "\iPhoneToday\settings.xml.backup", TRUE )
WriteFile("\iPhoneToday\settings.xml", IPTsettings, FALSE)
# RedrawToday
# Sleep(1000)
kill ("iPhoneToday.exe")
run("\iPhoneToday\iPhoneToday.exe")
[Windows Mobile Apps and Games] michoob:
LOL, I've made a mistake in my script where I'm trying to load the IPTWuseS2U2wallpaperForBackground from the [S2U2 settings] section instead of the [User settings] section...

Corrected in the new version IPTWeather_20091228d.

If you don't have time to download the 20091228d version, it can work with the 20021228c version but just move the IPTWuseS2U2wallpaperForBackground parameter into the [S2U2 settings] section of the weather.ini instead of the [User settings] sections.

Sorry for any inconvenience...
[Windows Mobile Apps and Games] michoob:
IPTWeather_20091229

Ok, sorry chancer63, I didn't really test the iPhoneToday background feature before.

Now it's done and I've corrected all the bugs, so in the newest release, it is finally working as expected :)

Download IPTWeather_20091229 here.
[Windows Mobile Apps and Games] chancer63:
Version 20091228d also didn't work for me.

I will try the new one. Because I don't use iPT as a today plugin I think I will have to replace 'redraw' with

kill ("iPhoneToday.exe")

run("\iPhoneToday\iPhoneToday.exe").

THX.

CU
[Windows Mobile Apps and Games] michoob:
Oh, yes, you're right, try the new version 20091229, but you'll have indeed to replace RedrawToday with your two lines if you're using the exe version...

I'll add an option in the weather.ini file to to choose if you're using the Today or the exe version of iPhoneToday...
[Windows Mobile Apps and Games] michoob:
New version 20091229b

New version's up to support iPhoneToday background feature with the exe version of iPhoneToday.

Check the new parameter IPTWuseExeIPhoneToday.

Enjoy!
[Windows Mobile Apps and Games] 4D3:
Hi,

I have this set to -1!

thanks

MG
[Windows Mobile Apps and Games] michoob:
IPTWeather_20100425

New version available mainly to bypass iPhoneToday 1.5.1 and 1.5.2 registry updates issues at start, and to auto-configure S2U2 UserWeather!

Here is what's new it the latest version which is IPTWeather_20100425:

* Automatically set UserWeather to 05 in S2U2 settings if IPTWtomorrowForecastInS2U2UserWeather = 1 or IPTWtomorrowForecastInS2U2UserWeather = -1
* Shortcut created in overwrite mode when running the autostartIPTWeather.mscr script
* Added option IPTWreloadLastDataOnStart=-1 (by default) so IPTWeather doesn't reload data at device start, since it is no longer needed with latest tronikos' iPhoneToday versions thanks to the reloadIcons=2 feature. And this bypass iPhoneToday 1.5.1 and 1.5.2 issue with the managing of the registry values at start
* Added waitForReadyIPT.mscr script for better code maintenance
* Added a timer for iPhoneToday registry updates so IPTWeather doesn't enter in an infinite loop if there is a bug with iPhoneToday
[Windows Mobile Apps and Games] michoob:
Just to let you know, I have just made on my device a copy of IPTWeather to IPTWeather2, with different weather.ini settings, and now, I have two weather icons in iPhoneToday that update every some time! That's really great! :D
[Windows Mobile Apps and Games] 4D3:
Hi,

attached in the rar is the icons you requested i post, i have finished them now.

The idea for these came from mushipkw over at WMSkins Gallery, but they were all messed up for this so i polised the icons, and added and ordered then correctly.

For those who done know what im talking about the icons are the ones in the pic below:

Enjoy!

EDIT: Updated to v2 - Includes N/A image

DOWNLOAD HERE: LINKAGEv2 - Please DO NOT upload these anywhere else, as i will change the link as i update the icons thanks

(if people cant get from RS pm me and il email)

(NOTE: Copy the folder "Weather" to S2U2\GFX)

MG
[Windows Mobile Apps and Games] sandervanzijl:
I followed your installation steps to use this with iphone today.

1. installed iphone today, installed mortscript, installed iptweather, copied some icons.

i restarted the phone.

now what should i do to make an icon show up in iphone today?

i do not see a weather icon.

were can i find these scripts you are referring to?
[Windows Mobile Apps and Games] michoob:
@sandervanzijl: just tap on the icon you have configured in the following installation step to expand weather forecasts and collapse them to show only the current weather icon:

•In iPhoneToday, if you want the current weather icon to show weather forecasts when you tap on it, you have to edit the iPhoneToday icon numbered IPTWcurrentWeatherIcon on the page IPTWcurrentWeatherPage (weather.ini file settings), and set the 'Execute' field to call the script iPhoneTodayAccuWeather.mscr.

The script iPhoneTodayAccuWeather.mscr is of course in the IPTWeather installation folder.
[Windows Mobile Apps and Games] sandervanzijl:
yes, the icon was not there, that is the problem.

no icon. what should i do to get an icon in the first place?
[Windows Mobile Apps and Games] michoob:
What do you have for IPTWcurrentWeatherIcon and IPTWcurrentWeatherPage in the weather.ini file?

What happens when you run the script iPhoneTodayAccuWeather.mscr the first time?

What happens when you run the script iPhoneTodayAccuWeather.mscr the second time?
[Windows Mobile Apps and Games] michoob:
New version: IPTWeather_20100428

New version released!

Enjoy!
[Windows Mobile Apps and Games] TTJB:
Michoob, I have had this problem also with IPT. Haven't updated to your latest yet, but the last two updates will go random times and not update in IPT. It will update in S2U2 and update temperature below the icon in IPT, but it will not show an icon for hours. And then it will start showing an icon again randomly. This happens everyday. Thanks for your help.
[Windows Mobile Apps and Games] sandervanzijl:
After running the script, i got an icon. I also openend the autorunscript at startup.

i think this solved the problem, but this should be part of the install FAQ.

a few other things:

i changed the order of icons with iphonetoday. after a restart, i now have 2 weathericons. the first icon changed to a weathericon as well.

I have french (or something) shortnames for the days of the week. JE VE DI etc.

when I show the overview i can click on a day of the week. instead of getting more information about that day, the icon opens the orignal application that iphonetoday has under it. so for example, if the weather icon is over an internet explorer icon, it opens internet explorer.

mortscript asks for permission when updating the weather. this should be silent.

and as a request:

- would it be possible to setup a special page in iphonetoday that shows the weatherinformation by default.

- can you create a settings application like the location setting for other preferences?
[Windows Mobile Apps and Games] michoob:
I don't see what could randomize the display. Perhaps it seems random to you, but it isn't... ;)

Since S2U2 updates, it means IPTWeather works.

So either there is a problem with iPhoneToday (which version have you installed), or your weather.ini file doesn't match with your needs.

I have never noticed random displays, and I'm using IPTWeather daily, so I'm a bit surprised by the behaviour you are describing.

Perhaps post some screenshots and your weather.ini file.

As for the icon for hours, what have set for IPTWdisplayObservationTime in your weather.ini file? If it empty, then the icon with time will not be displayed.

Ok, that sounds good.

You mean the startAccuWeather.mscr script, don't you?

Then, it is already in the installation FAQ: check the last point.

Indeed, IPTWeather cannot guess which icon you want to be the weather icon, and IPTWeather will always update the icon that is defined in your weather.ini file by the settings IPTWcurrentWeatherIcon and IPTWcurrentWeatherPage.

I've just updated the FAQ to explain that. :)

In your weather.ini file, change the settings IPTWmondayText, IPTWtuesdayText, ..., IPTWsundayText.

I've just updated the FAQ with that question. :)

Indeed, the forecast icons are just a temp display, but the button is still mapped with the original application.

In fact, there is no more information to show for one day... or I should recode a big part of ITPWeather... perhaps I should add such a feature in my to do list, but it would be a big work to do, so don't expect such a feature to be done soon, if ever done...

I've just updated the FAQ with that question. :)

Set IPTWupdateWeatherNowQuestion= (I mean equal to nothing) and no question will be asked.

BUT, IPTWeather only asks a question if the data are supposed to be old, based on the IPTWforceDelayHours and IPTWforceDelayMinutes settings.

Normally, ITPWeather updates the weather automatically without a question every some time defined by the settings IPTWdelayHours and IPTWdelayMinutes.

If not, that means there is a problem with your data connection, or perhaps you use S2U2 with the PowerOff setting allowed.

1 - Just change the settings IPTWcurrentWeatherIcon and IPTWcurrentWeatherPage in your weather.ini file for the current weather icon, and the settings IPTWforecastStartIcon and IPTWforecastStartPage for the weather forecast icons.

2 - I'd like to, but with MortScript, it will not give you something really attractive. I should learn .Net and developp a specific application that could display the weather.ini file settings as in S2U2 for instance :).
[Windows Mobile Apps and Games] sandervanzijl:
Love your detailed answers. thanks.

now for the next problem......

suddenly the icons will not go away.

I pressed the weather icon, the screen animates, comes back, but the icons are still there.

closed ipt, icons are still there (pressed the weather icon again)

reset my phone, icons are still there.

it seems that the icons from my orignal set up are overwritten with the iptweather icons and icon names. is there a way of getting these original icons back, or am i screwed?

and if so, how can this problem by prevented from happening again?
[Windows Mobile Apps and Games] michoob:
Hum... unfortunately, I know what you are talking about, because I had this issue too, and I must tell you that you will have to reconfigure your icons... :(

It is a kind of issue with iPhoneToday that if you have some temp icons defined with the reloadIcon=1 feature, then, if you set an icon with reloadIcon=2 (to write this, but only this, icon in the icons.xml file), all the temp icons will also be written in the icons.xml file and not only the icon defined with reloadIcon=2... :(

I think I could bypass this issue, but I have to think of a good way to do it.

Of course, tronikos should correct this in iPhoneToday...
[Windows Mobile Apps and Games] michoob:
IPTWeather_20100429

OK, here is a new version with the following changelog to correct the issue reported by sandervanzijl:

Bypass an issue in iPhoneToday so you can keep your original icons.xml file safe. The issue is that if you have some temp icons defined with the reloadIcon=1 feature (weather forecast icons), then, if you set an icon with reloadIcon=2 to write this and only this icon in the icons.xml file (current weather icon), all the temp icons will also be written in the icons.xml file and not only the icon defined with reloadIcon=2

Enjoy! :D
[Windows Mobile Apps and Games] michoob:
@TTJB: perhaps you could edit your post to enclose your weather.ini file in CODE tags... ;)

From your sentence "It works for most of the day and then it just stops updating the icon in IPT for a few hours and then starts again", I can immediately say that IPTWeather does it job well. But if for some reason, IPTWeather fails to update the weather (if you don't have a connection for some time), then the update will be scheduled to the next update...
[Windows Mobile Apps and Games] ahhl:
i noticed on S2U2, the animated wallpaper from Yahoo weather cannot work, this is because the image that being referred to is png file not gif files. (under S2U2 wall paper that set by IPTWeather)
[Windows Mobile Apps and Games] 4D3:
hey michoob

I was wondering if you have had a response about the 2 line weather on S2U2?

I cant seem to find the thread where we posted it up!!

MG
[Windows Mobile Apps and Games] michoob:
Just set in your weather.ini file IPTWS2U2WallpaperExtension=gif

Yes, I got response, a negative one. A_C answered that there is no room for such a feature. :(
[Windows Mobile Apps and Games] ahhl:
welll.ok....i just change tne s2u2 weather.ini file from png to gif.
[Windows Mobile Apps and Games] 4D3:
What a let down!!

I really dont see how hard it is to add a line, i had a friend open the exe's and he said that it would be really easy, but he didnt do anything to it because it is not his work!!

but it is easy, he just cant be arsed!!!

What a gutter, mind you, now im in 2 minds to just do it myself and release it as an IPTWeather update for S2U2 compatibility!!

MG
[Windows Mobile Apps and Games] cosmicsuper:
first i would like to thank you for great features this program offers. Well i have one problem.I am using S2U2 with htc diamond no manila. Everything works fine, but every time the weather updates i loose my S2U2 wallpaper, it goes blank. Can this be solved, please help. TNX.
[Windows Mobile Apps and Games] 4D3:
Hey mich,

I have a small question, what is the difference between wind speed and wind gusts?

because when i display them they always show the same number, is that correct?

Thanks

MG
[Windows Mobile Apps and Games] michoob:
You mean an S2U2 update and not an IPTWeather update, don't you?

But if S2U2 is open sourced, then you make the update and suggest it to S2U2 I guess...

Just set IPTWtodayForecastInS2U2Wallpaper=0 in your weather.ini file.

Well, wind speed is the wind speed, and wind gusts is the speed of wind gusts... but I guess if there are no gusts in your area then AccuWeather set the same speed for both...

As for the definition of what wind gusts are, I let you google that ;).
[Windows Mobile Apps and Games] cosmicsuper:
tnx, i m gonna sleep better:)
[Windows Mobile Apps and Games] 4D3:
Hi mich,

can you tell me what icon number the "N/A" icon should be? it was not on the list you sent, and i have normal text n/a showing.

thanks

MG
[Windows Mobile Apps and Games] michoob:
Please check the IPTWdefaultCityIcon setting in the weather.ini file for the iPhoneToday icon.

For the S2U2 N/A icon, it's the 10000.png icon.
[Windows Mobile Apps and Games] bigkev350:
Cannot get IPTWeather to run

Iv followed the installation instructions (i think)

im only using iphonetoday and not S2U2

when i touch startAccuWeather nothing happens :mad:

my weather.ini is attached if you could please have a look or point me to where iv possibly went wrong.

Thank you
[Windows Mobile Apps and Games] michoob:
Why have you set IPTWcurrentWeatherIcon=IPTWcurrentWeatherIcon and IPTWcurrentWeatherPage=iphoneTodayAccuWeather.mscr ?

You should set these two settings to numbers.
[Windows Mobile Apps and Games] bigkev350:
ok what numbers should they be??

would this make the profram start though??

cheers
[Windows Mobile Apps and Games] michoob:
The numbers should match the position of the icon you want to be used in iPhoneToday for current weather. By default, it is set to 0 and 0 to display the current weather in the first icon on the first pave of iPhoneToday. But you may want to display it somewhere else.
[Windows Mobile Apps and Games] 4D3:
Hi,

I dont supposr you could add the UV index and the Barometric pressure to the list of options in the weather.ini? (where you have %SUNR% %SUNS% etc)

thanks

p.s. i have done some more icons packs, but since i released the last one here it doesnt seem anyone has downloaded it or used it to ill pm them to you if you lie for PERSONAL use if you like? (or at leats no-one has been bothered to comment or thank!!)

MG
[Windows Mobile Apps and Games] michoob:
Hi, I didn't havr time to check your icons yet, that's why I haven't commented them yet.

I should try them and publish them on Google Code.

As for other options for the UserWeather, I'll check that, but I'm not sure AccuWeather provides this information in the data.xml file...
[Windows Mobile Apps and Games] michoob:
IPTWeather_20100509

New version!

What's new it the latest version which is IPTWeather_20100509:

Option IPTWiPhoneTodayDisabled=-1 working as expected (check weather.ini file for more information)

Update iPhoneToday weather icons even if weather forecast icons are displayed, so you can have a page dedicated to weather forecasts without having to expand/collapse weather forecast icons

I think this will be the last version, unless you find some bug.

I have achieved all the goals I wanted in this project for my personal use, and have shared it with us.

Now, I don't have more motivation to develop new features, but if you find something attractive, I may reconsider that decision...

Enjoy!
[Windows Mobile Apps and Games] 4D3:
sweet, ill test this today! report tomorrow!

thanks
[Windows Mobile Apps and Games] michoob:
Please be aware of the fact IPTWeather cannot "create" icons, but can only "overwrite" icons, so if you want to have a page dedicated to weather forecast icons, you'll have to setup a page with blank icons...
[Windows Mobile Apps and Games] michoob:
New version is out that correct the IPTWiPhoneTodayDisabled=-1 feature so it actually works...
[Windows Mobile Apps and Games] michoob:
Hi, I've checked your icons, and some of them look truncated.

EDIT: on my Mac, some icons are truncated, but not on Windows Mobile devices, so all is good :)

The design and the icon order, it's nice, and I've added a link on the first page to your post.

Cheers.
[Windows Mobile Apps and Games] 4D3:
all icons are 90x90, they show fine on my screen.

MG
[Windows Mobile Apps and Games] 4D3:
Hi all,

i have the first update for the icon pack, click the same link for the updated files

MG
[Windows Mobile Apps and Games] michoob:
Yes you are actually right, icons look bad on my Mac, but all is good on my device.

Great work you did!

Thanks.
[Windows Mobile Apps and Games] 4D3:
no problem!

I updated them also, new icon!

MG
[Windows Mobile Apps and Games] michoob:
You have set IPTWaccuWeatherLocation=My Location, so first question: have you installed Sleuth's myLocation Service?
[Windows Mobile Apps and Games] wil_dee:
hi michoob, yes i did install sleuths myLocation service... after several restarts and playing around with settings i had given up....

now a few hours later i suddenly see the weather icons show up on my s2u2... woohooo!!!

i don't remember what i may have done to make this work, but it does.. so maybe it takes some time to find the location via myLocation??

well, happy nows, thx for ur reply michoob...
[Windows Mobile Apps and Games] michoob:
Yes, Sleuth's myLocation Service needs some time to get your location: about 1 minute of data connection is needed by the service at first start, from what I remember.
[Windows Mobile Apps and Games] TWiG420:
Thanks for the great script set here, using this on my iPaq hw6945 with iPhoneToday is perfect.
[Windows Mobile Apps and Games] wil_dee:
hi again, i'm not sure if it is Sleuth's myLocation Service or the IPT weather, but I figured out that everytime I soft reset the phone, it takes an hour before the phone locks itself and hence the weather is updated...

Any ideas?
[Windows Mobile Apps and Games] TTJB:
Michoob, This app has stopped updating in IPT. It updates fine in S2U2 but not IPT. Don't know if I need to clear out registry somewhere? But it's been locked to Sunny and 75 for about 10 days. It worked fine for about 2 or 3 days straight then it locked. I didn't change a thing. Thanks.
[Windows Mobile Apps and Games] michoob:
Yes, that is normal. When you reset your device, an update is scheduled in IPTWdelayHours hours and IPTWdelayMinutes minutes. It won't update at start up.

Of course, if your data is not up-to-date, I mean older thanIPTWforceDelayHours hours and IPTWforceDelayMinutes minutes, then you should get a question to update the weather.

Hum... strange indeed.

What happens when you try to show/hide weather forecast icons?

You can also check what you have in iPhoneToday's registry keys, in HKLM\Software\iPhoneToday.
[Windows Mobile Apps and Games] TTJB:
Just uninstalled and installed again. That fixed everything for now. I will keep fingers crossed. Could it be that I use the same weather ini file that I have saved? So I don't have to go through and update everything again to my liking, I continue to use the one from 3 or 4 updates ago after I got my settings right. Thnx.
[Windows Mobile Apps and Games] michoob:
That should not be a problem. You are right to use the same weather.ini.

I don't know what was your issue.

I'm glad you managed to make it work.
[Windows Mobile Apps and Games] wil_dee:
ok makes sense... :)

thanks michoob
[Windows Mobile Apps and Games] michoob:
Just for information and in case someone asks, I will never make IPTWeather compatible with Weather.com and any mobile device application should ever do it, since the license agreement of the weather.com API states:
[Windows Mobile Apps and Games] zvi1:
install in Storage card

can i install AcuWeather, MortScript 4.2 & Icons in Storage card to save memory?

Thank you
[Windows Mobile Apps and Games] michoob:
@zvi1: yes you can.
[Windows Mobile Apps and Games] zvi1:
Need help

I have installed IPTWeather and it is working! I want to ask:

i am using IPhoneToday (I do not use s2s2)

1. why I do not see City name (IPTedisplayCityName=1)

2. in my IPhoneToday i use 5 incons in a row, so the forecaste is over lapping, can i set the weather forecast icons arrange with a free place between evrey two icons?
[Windows Mobile Apps and Games] michoob:
@zvi1:

1 - the city name is displayed in the icon after the weather forecast icons when you run the script iPhoneTodayAccuWeather.mscr to expand the weather forecasts, as on the following screenshot

2 - no, you cannot arrange forecast weather icons. You can only choose the first icon and all other forecast icons will be shown one after an other. To do what you want, I should add an option to leave a blank icon every X icon... no difficult to do, I guess. If I have time, I could perhaps consider adding such a feature. ;)
[Windows Mobile Apps and Games] zvi1:
thankyou fo your help,

I see now the city name,

I will appriciate if you could consider adding such a feature,

as i added a page only for the weather.
[Windows Mobile Apps and Games] zvi1:
toggle for on/off

Thankyou michoob for your usefull work,

I need to know what is the quick way to stop IPTWeather for few days when

I am in a place out off my country and i cannot use internet connection for free? maybe a toggle for on/off ?
[Windows Mobile Apps and Games] michoob:
What I do is set IPTWdelayHours and IPTWdelayMinutes to 0, and then, I run getAccuWeather.mscr once.

But perhaps I should add a script stopAutoUpdates.mscr that does the job correctly...

Ok, I have now three requests in my to do list, so I think I'll release a new version soon... ;)