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

I see your point, but if you are cheating with the installation procedure of iPhoneToday... ;)

I'm curious to have Tronikos' point of view on that, since the idea of using this registry entry was from him initially.

Yes, I know when you're requesting weather with latitude and longitude, AccuWeather doesn't necessarily give you the weather of your location, even if they have your location in their database. I guess they are not good on that...

Your location should be the same as found on Google Maps, since Sleuth's location service uses Google's localisation service.

But I guess HTC's My Location for Manila Weather does the exact same thing!

If you only want the current weather icon in S2U2, why don't you try this solution?

Perhaps because you think my IPTWeather is better? :D

Ok then, I'll see what I can do. Stay tuned.
[Windows Mobile Apps and Games] Sir.John:
Here's my weather.ini for you to have a look (THANKS!)

Nothing to spectecular really, as usually leave all the defaults until I have everything up and running ;-)
[Windows Mobile Apps and Games] michoob:
@Sir.John: previousely, you said that you don't use S2U2, so you have to set IPTWtomorrowForecastInS2U2UserWeather=0, IPTWtodayForecastInS2U2Wallpaper=0 and IPTWtodayForecastInS2U2Text=0.

Since the first thing IPTWeather does is to update the main icon, that explains why it has been updated the first time, but then, IPTWeather was probably in error, but because in the update script, I've set ErrorLevel("off"), you can't see the error...

So just update the three parameters above and then run startAccuWeather.mscr. It should work then!

I'll have to add an existence check on S2U2 in order to avoid that...
[Windows Mobile Apps and Games] Sir.John:
That didn't do the trick, I'm afraid, although a FileExists() or DirExists() will proof helpful nonetheless I guess.

As of now: I do have one icon (Today) that gets updated as it should but miss any forecast icons there might be. I do not have to add these manually (like empty containers to be updated) by any chance, do I?

One other thing I noticed is that each update deletes the imagepath to icon0,0 (first icon on the first IPT screen)

Any idea what to make of that? Putting 2 and 2 together it appears that the icon position for the forecast icons is not evaluated correctly or rather not found at all (hence trying to update icon 0,0 before running into an erreanous exit)
[Windows Mobile Apps and Games] Pimmr:
Hi all, I hope someone can help me out.

I have a HTC Rhodium with latest WWE Energyrom.

I want to get the weather in S2U2. I tried to follow all installation instruction to my best of knowledge.

I installed myLocationinstaller v1.1

I installed Mortscript 4.2

I copied the wallpaper and weather folders to the S2U2 gfx folder.

I copied the extracted IPTWeather folder to the root of my device.

I copied startAccuWeather.mscr to my Windows/Startup folder.

I set my favourite location to my hometown.

I reset the device.

Now S2U2 just shows a blank black backgound, no weather wallpaper or icons.

Do I have to set anyhting in the S2U2/Information settings? There is an option to select "Today's weather forecast from":

Spb weather 1.x

Weather panel

Pocket Weather

HTC Home weather

Userweather

Touchflo 2D weather

Touchflo 3D weather

Any idea which to select? I only get the default S2U2 weather icon if I select UserWeather, but this is not my location and it does not use the icons I downloaded and copied to the S2u2/gfx folder. Besides the background stays blank.

If I run IPTWReload S2U2, I get this error:

Any help greatly appreciated!
[Windows Mobile Apps and Games] michoob:
No, you don't, but IPTWeather will only update the one icon for the current weather.

It is the call of the iPhoneTodayAccuWeather.mscr that will show you the weather forecasts icons starting from the icon IPTWforecastStartIcon on the page IPTWforecastStartPage.

What do you mean by "deletes the imagepath to icon0,0" exactly?

I'm not sure I understand what you're talking about.

If you have set IPTWcurrentWeatherIcon=0 and IPTWcurrentWeatherPage=0, then the icon 0,0 will be updated in iPhoneToday with current weather conditions.

One of your icons has to be dedicated to show the current weather conditions, and it will be updated on each new data download with the reloadIcon=2 feature, that will change the icons.xml file.

I don't understand, sorry.

Where are you putting 2 and 2?

What are you doing to get the "trying to update icon 0,0 before running into an erreanous exit"? Which script are you running?

If you don't use iPhoneToday, then you have to disable it.

In the weather.ini file, please set IPTWiPhoneTodayDisabled to 1.

It's normal, since this script is just a sub-script and not a user script.

I should organize better the scripts so that non-users scripts are in another folder... ;)
[Windows Mobile Apps and Games] michoob:
LOL, I guess that my next version will be dedicated to make the IPTWeather configuration more user friendly since it's getting more and more popular :p
[Windows Mobile Apps and Games] Sir.John:
OK, thanks for clarifying that

No, IPTWc...W...Icon/~page are NOT set to 0,0 but to 11,1 for now.

Yet, it is icon 0,0 which imagepath gets altered from "\path\to\my\IPT\icon" to "\" each time I run the IPTWeater update.

Look at these codes for clarification:

Before IPTWeatherUpdate:

<?xml version="1.0"?>
<!--iPhoneToday plugin for Windows Mobile-->
<root>
<screen>
<icon name="Barcorama" image="\IPhoneToday\iReflect\Barcode.png" exec="\Programme\Barcorama\Barcorama_v09f.exe" parameters="" execAlt="" parametersAlt="" type="0" animation="0"/>
<icon name="TCPMP" image="\IPhoneToday\iReflect\Movies2.png" exec="\Windows\Startmenü\Programme\TCPMP.lnk" parameters="" execAlt="" parametersAlt="" type="0" animation="0"/>
...

After Weather Update

<?xml version="1.0"?>
<!--iPhoneToday plugin for Windows Mobile-->
<root>
<screen>
<icon name="Barcorama" [COLOR="Red"]image="\" [/COLOR]exec="\Programme\Barcorama\Barcorama_v09f.exe" parameters="" execAlt="" parametersAlt="" type="0" animation="0"/>
<icon name="TCPMP" image="\IPhoneToday\iReflect\Movies2.png" exec="\Windows\Startmenü\Programme\TCPMP.lnk" parameters="" execAlt="" parametersAlt="" type="0" animation="0"/>
...

"Putting 2 and 2 together" is just a saying, completely ignore that please.

I run the startIPTW script from the \Windows\StartUp folder and

iPhoneTodayAccuWeather.mscr when tapping on the current weather icon itself
[Windows Mobile Apps and Games] michoob:
What do you run when you say you're running the IPTWeather update?

You should only run the following scripts:

iPhoneTodayAccuWeather.mscr

startAccuWeather.mscr

manageIPTWLocation.mscr

quickIPTWFavoriteLocationChange.mscr

setIPTWFavoriteLocation.mscr

I guess you're running the IPTWreloadIcon.mscr that is just a sub-script of IPTWeather.

I've made a test and can reproduce your issue by running this script alone.

Don't use it.

I must definitively put these purely non-user scripts into another sub-folder.
[Windows Mobile Apps and Games] howdykeith:
Hi.

I like this for S2U2.

I did write up a WeathPaper script a while ago that changes the Today background to match the weather.

Feel free to get any usable code out of my weathpaper script. If you need me to help in any way, let me know.

Here is a link to the wPaper script. I am pretty sure I could get the Today refresh working for smartphones more better were your script get to there.

Thanks much!
[Windows Mobile Apps and Games] michoob:
@howdykeith: Hi, IPTWeather can already updates the S2U2 wallpaper with the current day weather forecast (or night depending on the time and the sunrise/sunset time).

IPTWeather can also update the slide to unlock text of S2U2 to match the current day/night weather forecast description, and the S2S2 UserWeather icon with next day weather forecast.

So I don't really understand what is your point, sorry. But if you have any suggestion, please tell me.
[Windows Mobile Apps and Games] howdykeith:
o. I didn't get far enough to see the wallpaper part even though that's what I was looking for. Kind of scattered this morning. I will look harder.

Very cool for S2U2. Thanks much.

:o
[Windows Mobile Apps and Games] howdykeith:
I am enclosing the Landscape weather wallpapers.

U probly already have them posted here?

CallScript(IPTWscriptPath \ "iPhoneTodayAccuWeather.mscr")

why not

SystemPath( "ScriptPath" ) \ "iPhoneTodayAccuWeather.mscr")

or

IPTWscriptPath = SystemPath( "ScriptPath" )

I would also suggest for "change the path of the IPTWeather folder in the 3rd line of the config.xml file" to have an init script grab the current path and then load and edit the xml and save.

?

i saw it mentioned but having the S2U2/Iphonetoday toggle settings would be cool.

Of course u could set the icon folders from your settings script. U could grab the code from my weathpaper script if u wanted to be quick.

Thanks much...

It looks like the numbers are a different sequence. I see the Yahoo to Accuweather ##s was posted, so i fixed the numbers so i can use em.

Also attached is a cab file for the landscape wallpapers...
[Windows Mobile Apps and Games] Sir.John:
Sorry to be so much trouble, but I only run iPhoneTodayAccuWeather.mscr to update the icon :-(

I guess I'll try again with the next version ;-)
[Windows Mobile Apps and Games] howdykeith:
Coincidentally I was trying to run a script from within the program files folder and was getting an error, as u suggested.

So it occurred to me to do this:

CreateShortcut(SystemPath("ScriptPath") \ "Mr-tones.lnk", SystemPath("ScriptPath") \ "Mr-tones.mscr", True)
Run( SystemPath("ScriptPath") \ "Mr-tones.lnk" )
Delete( SystemPath("ScriptPath") \ "Mr-tones.lnk" )

or

Lnk = SystemPath("ScriptPath") \ "Mr-tones.lnk"
CreateShortcut(Lnk , SystemPath("ScriptPath") \ "Mr-tones.mscr", True)
Run( Lnk )
Delete( Lnk )

This works, if u wanted to do that...
[Windows Mobile Apps and Games] ASPHALT5:
can I get that font for my IPT?
[Windows Mobile Apps and Games] michoob:
It's already done like that.

Why not.

No thanks, because you don't necessarily want to toggle from one to an other. For instance, I'm using both...

It's already done like that.

Thank you for tryingvto give me some tips, but it seems you didn't even try IPTWeather. What's your point exactly?

That's it.

If you copy the right file in the start up menu, yes. Please read the installation procedure.

The new script will perhaps avoid some of your issues,vbut you could easily solve them. Don't give up!;)

I don't understand the question.
[Windows Mobile Apps and Games] howdykeith:
Hi.

IPTWscriptPath = SystemPath( "ScriptPath" )

It's already done like that?

But according to your instructions which i followed:

And in the mscr:

IPTWscriptPath = "\IPTWeather"

This is what I was referring to.

As for toggling, I meant each item individually.

Quote:

Originally Posted by howdykeith

Of course u could set the icon folders from your settings script.

It's already done like that?

Again following your instructions, and reading the mscr, and running IPTw settings script, it is not done like that.

Thank you for tryingv to give me some tips, but it seems you didn't even try IPTWeather. What's your point exactly?

Now that doesn't seem very nice. I apologize that when I first went to install, i had not read all the docs u provided. I completed the install and am now trying to provide feedback, as well as examples of these things i already coded in case u didnt want to start from scratch.

My points are, if I was clear enough in the above post, that if you knocked out these elements, your install instructions would reduce to running one settings script. Like i have tried to do with most of my apps.

Your script is awesome. I am just trying to chip in. That's it.

and as for Does IPTweather Autostart? You could add:

(Autorun is off)

CreateShortcut(SystemPath("ProgramsMenu") \ "StatusTicker Setup.lnk", SystemPath("ScriptPath") \ "StatusTickerSet.mscr", True)
move (SystemPath("ScriptPath") \ "StatusTicker Setup.lnk", InstallLoc, "True")

to your settings script. Of course I know that you copy the right file in the start up menu, yes. Reading the installation procedure doesnt make that any easier by hand. You could also have a setting to create the lnk in the programs folder for Update shortcut and the other User run scripts. If I missed them in my Programs folder again i apologize.

Thanks a whole lot for coding this. I had contemplated updating my weathpaper script to do all this, but I dont want to. I would rather not. With a couple copy and pastes I could add the Today weathpaper function to IPTweather. I know you could do the same just as easily. You may not want that function as it is not included in your documentation.

I also am hoping to use your installation as a weather source in my StatusTicker app. I have not read all your documentaion and read all of your coding yet to see how IPTw updates the weather on schedule, but I am afraid to ask.

I know english is my first language but sometimes when i try to say thanks it is unwelcome.

:)
[Windows Mobile Apps and Games] ASPHALT5:
The font for icon name is great.How can I get that for my icon name?

sr,bad english,i am vietnamese
[Windows Mobile Apps and Games] Sir.John:
I won't :-) But as I'm at my wits end for now, I guess I'll start over from scratch again. No point in buggering you all the time ;-)

Thanks for your help!
[Windows Mobile Apps and Games] lohtse:
Well for now am giving up on this app....

Have deleted everything and then reinstalled everything to try and get it working correctly but no matter what I do I can't get the wallpapers in working(s2u2) to change to match corrcet conditions, The text updates correctly to the current weather etc but not the wallpapers.. Always a rain cloud even when it's been sunny all day where I was... I know the text parts correct and have checked the weather with other apps. I have pocketweather displayed in s2u2 and that updates correctly so am lost as to why the wallpapers don't change. Anyway as I'm unable to get it working will leave for now...

thank you for the help and hard work.

regards

Lohtse
[Windows Mobile Apps and Games] michoob:
It's done like that in all scripts, except the startAccuWeather.mscr script that is meant to be moved to the \Windows\Start Up menu, so...

Ok, understood. Will check. Ideally, I'd like to developp an ini file configurator in .Net... but I'll have to learn .Net first... ;)

The IPTWaccuWeatherIconPath setting is for that.

But perhaps I don't understand what you mean.

Yes, sorry for being rude. I was tired yesterday, and you were just posting to many things for my brain...

Again sorry. I hope you'll accept my apology.

IPTWeather autostart because the user copies the start file in the Windows start up menu... but I could add an option for the startAccuWeather.mscr script...

I want to simplify the installation procedure of IPTWeather, so I'll think about that.

It's the default font of iPhoneToday 1.3.

Good luck! :D

Ok, I think I understand what you're talking about for the S2U2 wallpaper part. Aren't talking about the weather icon on the bottom left?

In the settings of S2U2, you have to choose you want to use User Weather.
[Windows Mobile Apps and Games] michoob:
@lohtse: perhaps, in the S2U2 wallpaper settings, you have set 'Change JPG wallpaper every' to some time with 'Change JPG wallpaper randomly' set to OFF?
[Windows Mobile Apps and Games] lohtse:
If I choose userweather I get nothing what so ever no updates.as to wallpaper changing hmmmm n ope what you mention was already off
[Windows Mobile Apps and Games] howdykeith:
Often i am glad i ask dumb questions. So u r saying I should MOVE the mscr to the startup folder?

as opposed to just creating a shortcut to startAccuWeather and moving that shortcut to the startup folder...

i will double check this. sure i edited the file by hand, but maybe your settings file is taking care of that and i just did it both ways or something. i will double check.

I don't use Iphonetoday, but i do use s2u2.
[Windows Mobile Apps and Games] michoob:
Then, that means IPTWeather hasn't updated S2U2 at all.

Please post your weather.ini file, because it's strange.

Do you have a data connection?

Have you tried running the startAccuWeather.mscr script?

That's the idea as explained in the installation procedure...

As for S2U2, you cannot choose the icon folder, because it is fixed by S2U2 and is not configurable.

IPTWeather uses the UserWeather feature of S2U2.
[Windows Mobile Apps and Games] lohtse:
Thank you for your reply..

Unfortunately now removed the app etc.will reinstall soon. Always have data connection(unlimeted free connection) all other apps update fine..And yes ran the startAccuWeather.mscr script.. plus added to startup folder(even asked me if wished to update)..

regards

lohtse
[Windows Mobile Apps and Games] michoob:
@lohtse: have you checked the path to S2U2 in the weather.ini file? Very strange... see you soon.
[Windows Mobile Apps and Games] lohtse:
Hi Again.

Yep path to s2u2 is correct. Heres my weather ini file...advice welcome...
[Windows Mobile Apps and Games] howdykeith:
dontcha think it would be better (chouette ;)) to just create a shortcut in the startup to the mscr? Since doing that runs exactly the same, except u won't need to edit the path inside the mscr.
[Windows Mobile Apps and Games] chancer63:
@lohtse, michoob:

Maybe that's the solution:

lohtse, what s2u2wallpapers do you use? Are they mapped to accuweather or are they still numbered for yahooweather?

CU
[Windows Mobile Apps and Games] lohtse:
the wallpapers are the s2u2 ones from the first post...
[Windows Mobile Apps and Games] michoob:
@lohtse: please run the following script from your IPTWeather folder (first delete the .txt extension of course), and once you get the message "Done.", please post the generated IPTWeatherReg.ini file.
[Windows Mobile Apps and Games] michoob:
The new version is out!

The only objective of this version is to make IPTWeather easier to install and to use.

[COLOR="blue"]Latest version is IPTWeather_20100328:[/COLOR]
- Check existence of S2U2 when IPTWtomorrowForecastInS2U2UserWeather=0 or IPTWtodayForecastInS2U2Wallpaper=0 or IPTWtodayForecastInS2U2Text=0 to avoid errors due to bad weather.ini file user configuration
- Move non-user scripts used by IPTWeather to the sys folder
- Simplified the "change IPTWeather installation path" procedure by removing the step "2 - change the path of the IPTWeather folder in the 3rd line of the config.xml file", and by replacing the step "1 - change the path of the IPTWeather folder in the 1st line of the startAccuWeather.mscr script" by "1 - Run the autostartIPTWeather.mscr script"

Enjoy! :D
[Windows Mobile Apps and Games] lohtse:
As requested...

Also now no text ino in the area that normal1y say slide to unlock on s2u2!!!
[Windows Mobile Apps and Games] alexovy:
Hello.

I have installed the script like it is written in the first post but on the s2u2 screen I can only see the logo from accuweather, two times, one time in the middle and one more in the down left side.

I also dont have the weather text instead of "slide to unlock".

Can you give me a solution to this?

Thank you!

P.S.: I have S2U2 2.33 on SAMSUNG OMNIA 2 (WVGA), WM6.5
[Windows Mobile Apps and Games] michoob:
@alexovy: that means you haven't downloaded any data. Weren't you prompted for a weather update? Do you have a data connection?
[Windows Mobile Apps and Games] alexovy:
after a couple of more retries I managed to make it work.

I have three questions, though:

1. The text shown on the slider is sometimes to long and is not entirely visible and the right margin is out of the text box. Can I fix-it somehow or can you wrap-it or make it scroll?

2. I have the background image, that I suppose that is the current conditions and I also have an icon in the down-left margin with temperatures. Is this the "tomorrow forecast" ?

3. Is it possible to display 5 days forecast on S2U2?

Thank you very much!
[Windows Mobile Apps and Games] michoob:
Great!

Just edit the eng.ini file to edit the displayed description to something smaller.

It is not possible to make it scroll, unfortunately.

The background and slide text is the current day (or night if sun has set) forecast, not current conditions.

The down-left margin is the next day forecast with Hi(Hi Feel)/Lo(Lo Feel) temperature.

Not possible. Perhaps another application than IPTWeather can do that, but IPTWeather doesn't.

You're welcome.
[Windows Mobile Apps and Games] michoob:
@lohtse: I've checked and the behaviour you have is very weird. Your configuration seems ok, and data do update. I really don't understand what's happening. Perhaps a bug in the IPTWiPhoneTodayDisabled=1 feature. I'll check that.
[Windows Mobile Apps and Games] michoob:
@lohtse: do you have random wallpapers turned on in S2U2?
[Windows Mobile Apps and Games] lohtse:
nope its turned off!!!!!
[Windows Mobile Apps and Games] howdykeith:
Hi.

I double checked my S2U2 settings.

Random wallpaper is turned off. It is set to automatically change the image.

i had thought it was randomizing, but it must be something else.

I am starting to run your new version now... very exciting.
[Windows Mobile Apps and Games] lohtse:
well would seem I may have got it working wallpaper changes as does the icon and text info ...BUT...I have to tell it to update the weather data as it will not update automatically.... Somewhat annoying but at least its prgress LOL:D:D:D:D:D
[Windows Mobile Apps and Games] michoob:
What do you mean by that?

Have you run the startAccuWeather.mscr script?

It should schedule your updates on start if you have in the weather.ini file IPTWscheduleNextUpdateOnStart=1.
[Windows Mobile Apps and Games] TTJB:
Michoob, waiting with patience for the update so we can have current conditions icon showing in S2U2. :) Thanks.
[Windows Mobile Apps and Games] michoob:
@TTJB: I'm testing that feature from yesterday, and it's working well, so I may post this new version this evening (GMT time).

By setting IPTWtomorrowForecastInS2U2UserWeather=-1, you'll have the current conditions icon, and under the icon, you'll have current temp (current realfeel temp) / Hi: hi temp (hi real feel temp) / Lo: lo temp (lo real feel temp).

For instance: 10° (7°) / Hi: 16° (14°) / Lo: 9° (6°)

Is that ok for you?
[Windows Mobile Apps and Games] lohtse:
Hi Michoob

thank you for all your help..

in answer to your question..

I have to run the manageITPWlocation script to get an update as to what you have stated up yep all had been done.
[Windows Mobile Apps and Games] michoob:
@lohtse: ok, so perhaps S2U2 prevents you from running IPTWeather scripts when your device is in sleep mode. I've had this issue once. You should try to play with the power settings in S2U2 and all the settings related to the run of apps when the device enters sleep mode. Unfortunately, I don't master S2U2, so I won't be able to help you that much on that, but for me, your issue is related to S2U2 that doesn't allow MortScript notifications to run!

EDIT: I've seen in another thread that if S2U2 is set to suspend the device, then some apps may not work correctly. So in the Power settings of S2U2, I guess you should set 'Power Off in' to OFF and in the Advanced settings, 'Don't Suspend Power' to ON. Tell me if that works.
[Windows Mobile Apps and Games] michoob:
Finally, I'm not sure I'll be able to find the time to release the new version tonight... perhaps tomorrow.

EDIT: moreover, I'll add the IPTWS2U2UserWeatherTextPattern setting so you can format the S2U2 User Weather text as you want! :)
[Windows Mobile Apps and Games] alexovy:
sounds good
[Windows Mobile Apps and Games] lohtse:
Wahoo,horaa,yippeeeee!

It's working!Updates everything, just started for some reason. Sooooo happy...

Thank you for all you help and an extremely useful app..

regards

Lohtse
[Windows Mobile Apps and Games] TTJB:
Sound perfect Michoob. I'm very easy to accommodate, I hope it wasn't too much work for you. Thanks for your hard work.
[Windows Mobile Apps and Games] michoob:
@TTJB: in fact, it was interesting to do it, so no matter ;)