yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] dividebyzero:
Icons Still not Working

I've done everything imaginable in this thread to get the icons right. It still shows the storm cloud even though there's not a snowball's chance in Dallas that there's going to be anything remotely resembling rain around here any time soon.

The temps are all right though and it does change to a moon at night.

Help is much appreciated. I THINK it started when I updated to the new version of s2u2 2.00 and it's still there with 2.01 and 2.01c.
[Windows Mobile Apps and Games] dividebyzero:
That shouldn't matter. "The Internet" is just a standard naming for anything on your phone that connects to the internet. As long as your wifi connection is set to be a part of "the internet" (or whatever your provider has renamed it) then it'll be fine.

The alternative is usually "work." It's kinda dumb but I think it's to differentiate between vpn connection and open connection because WinMo phones are built from the ground up to be business tools so vpn is essential to that for a lot of people. Kinda confuses the hell out of people who never use vpn though. Oh well.
[Windows Mobile Apps and Games] kostasalfa:
Anybody having the original gfx/weather of vga/wvga S2U2 2.01 ??

I have istalled the missung icons (from the first post) and the weather icons turned waaaaay too small!!

Without any script etc.. I use user weather and it works well with titanium weather! I updates the temperature corectly when i update but the icons..???!! I have always rain or thunderstorm as it seems! Why??

Any help would be nice ! Thank you!:)
[Windows Mobile Apps and Games] rscreen:
Hi,

The weather isnt showing up in S2U2, its set to display userweather. If i double click the script file, i'm guessing its running in the background. How can I tell if / what its doing. I've tried with the default location 95129 and UKXX1435 which I believe should be Yeovil in the UK.

I've changed	Connect("The Internet") to "mobile web" which is what shows on my O2 connection.

Is there any logging or tests I can check?

Mort Script 4.2 installed to \Internal Storage\MortScript

Rob
[Windows Mobile Apps and Games] ZaJules:
Same Problem for me

Latest S2U2, latest Mort

I Checked the relevant registry entry and its not beeing writen

Im using WM6.5 does this scipt work ok with it?

Thanks

J
[Windows Mobile Apps and Games] rscreen:
I'm using a 6.1 build, and yeah on mine UserWeather key is not being written to HKCU\Software\A_C\S2U2\ either
[Windows Mobile Apps and Games] pmz:
I search weather wallpaper in 480 x 800 for my HD

Please help me :)
[Windows Mobile Apps and Games] pur_berger:
I have seen this behaviou when you try to get a value where nothing is in return - for whatever reason the script then stops to go to the other entreis - it simpy stops. So - for example - you want to read the actual temperature but the website doesn't give a value the script stops.
[Windows Mobile Apps and Games] holy1661:
StatusTicker 3.2f.zip

Hi,

I am working on updating the Personalizer script so it acts as status ticker.

I have included support for S2U2 weather and works great.

In this image, where it says "Sprint PCS", data is tickered across:

Right now it just includes the S2U2 weather script for you to try.

If you like the StatusTicker script I will get it to use your pre-existing s2u2 weather script.

To try out the StatusTicker look here:

http://xdaforums.com/showthread.php?t=289197&page=204

If there are problems or recommendations let me know...

Weather will show up on the home screen tickering by. I could have it not display on the homescreen? It will show the weather on the incoming call app as well as outgoing...

Keith
[Windows Mobile Apps and Games] patricktoh187:
Finally got mine working. The notiweather.mscr v2.21 got a missing ")" at the 2nd last line.:)

...

return(SubStr(argv[1], offset, endoff-offset))

...

Beside that I did below to prevent last updated weather data in registry being rewritten to "C|0|No|Network" if no internet connection.

# we must be in a black hole

#Remark by Patrick

#weather="C|0|No|Network"

#rlweather="No Network"

weather=curweather

rlweather=currlweather
[Windows Mobile Apps and Games] JaCoL_JcL:
damm it :/ whatever I do I'v got a "W|0|No|Network" in registry :/ meh what i doing wrong ?

I using a Wi-Fi (other app got acces to Internet) I'v got my city code etc and i'm not a noob in mortscript :/

what to do ?
[Windows Mobile Apps and Games] binqo:
1 question

how to display the weather icon named 1.png ...40.png ?

mine 1 seems only can display the user panel .

i cant find my country WOEID number ><
[Windows Mobile Apps and Games] ~Anvi~:
Mine doesn't work anymore :confused:

I flash to a new room with mort 4.3b15

how i do the changes to make it work??

Plz any help would be very appreciate.

Thx!

- Anvi
[Windows Mobile Apps and Games] Fronf:
Solution when no connection possible

I finally found a solution for this script to work (for me).

I had the problem that all worked fine when in the cradle, but no chance when on GPRS/G3. Renaming the internet connection and stuff didn't help. My provider requires me to use a proxy for any connection, and in the MortScript docs it says that reading the proxy settings from the system is no easy option.

So I included a line in the script specifying my proxy (in the else-part, so it should still work when in the cradle):

# try to connect
if (not InternetConnected( "http://www.google.com"))
Sleep(30000)
# proxy settings go here. Of course you have to enter your own settings
SetProxy("139.7.29.1:80")
Connect("Internet")
Sleep(10000)
endif

And -- tata -- now it works fine! Maybe it helps someone out there strugggling with the same problem. I guess it's provider-dependant, so not everyone will need this hint.

Cheers!

Marius
[Windows Mobile Apps and Games] deno24:
???????

ive been trying to get this to work on my omnia, only thing i can figure why it wont work is im using mort 4.2. when i tap on script nothing happens, i have everything installed correctly it just doesnt run. where can i get 4.1 at ?:confused:
[Windows Mobile Apps and Games] mmm777:
notiweather.mscr - change in Yahoo parameters

Old -bad

#raw = ReadFile("h t t p : / / weather.yahooapis.com/forecastrss?p="&location&"&u="&units)

New - OK

raw = ReadFile("h t t p : / / weather.yahooapis.com/forecastrss?w="&location&"&u="&units)

Difference: first parameter must be `w', not `p'

(Spaces in links are not needed)

--------------------------------

WM6.1

Mortscript: 4.2

Internet connection: "Internet"
[Windows Mobile Apps and Games] partie:
Is there any way to move the weather icon and temp to the middle of the screen?
[Windows Mobile Apps and Games] :
You need to check the S2U2 customization thread for that. I've seen at least one iconset that accomplishes that.
[Windows Mobile Apps and Games] partie:
Thanks. Got it. Can anyone tell me how to take a screen shot on the tmobile HD2? I'd like to share my theme.
[Windows Mobile Apps and Games] partie:
Screenshot of tmobile hd2 S2U2 Lockscreen
[Windows Mobile Apps and Games] :
Looks good!
[Windows Mobile Apps and Games] LuckeY-LuckeR:
This script´s pretty nice :)

First i have to thank you for this script. Also thanks to moesfeld for his weather script.

I felt free to modify it to my own requirements. I´ve combine it with moesfeld´s s2u2 and IPhoneToday weather Script.

Now it is totaly translated to German and shows the the weather in words (like "mostly sunny") it also changes the "Unlocktext" to the current weather and changes the Background to it. The wallpapers has been modified to WVGA on my Xperia X1.

The script now shows adjustable Errormessages.

I´ve added an INI-File to configurate the script, Errormessages, proxy etc.

Sorry for my bad english :(

LuckeY
[Windows Mobile Apps and Games] myso:
Question on the weather setting of S2U2???

Thank Schettj for nice script...

But I can't get the weather icon shown on S2U2 screen...

Hereunder there are some questions about the weather setting of S2U2,

1) Do I need to modify the weather setting in S2U2 setting?

2) Do I need to modify the registry for the weather setting?

3) Do I need to set other setting after the MortScript 4.3b11 has already been installed in my mobile phone (WM 6.5)?

4) Would anyone like to tell me what steps I need to accomplish that weather setting for the S2U2 in details?

I really appreciate your help if any...

Thanks!!!

Whale
[Windows Mobile Apps and Games] howdykeith:
maybe u missed it, that IPTWeather is working with S2U2...
[Windows Mobile Apps and Games] myso:
Thank for your help...

I am reading on what I missed... Thanks!
[Windows Mobile Apps and Games] momyc:
Hi ,

It will posible to include Elecont Weather as a provider for weather information ?

Thank you ,
[Windows Mobile Apps and Games] sv0911:
Got the pm..

Thanks

Greetings

sv0911
[Windows Mobile Apps and Games] sv0911:
Sorry doublepost...
[Windows Mobile Apps and Games] kromo1:
how do you get the icon and the weather in the middle of screen... please
[Windows Mobile Apps and Games] VandyCWG:
Hi there!

I am attaching a screen capture of my S2U2 with the weather script running.

I currently use ccode | temp | hitemp

Any way to have it with ccode | current condition (cloudy, sunny, etc) | temp

Or would that not look right on our screen?

Thanks again for this wonderful script!!!
[Windows Mobile Apps and Games] VandyCWG:
One more question, I see a command of INTERVAL * 60.

I assume that means, the update cycle, times 60? Meaning, 1 would equal one hour.

If my INTERVAL was .5, would that mean every half hour?

This honestly does not seem like it grabs much data? Would that be a battery cruncher? And would .5 work?
[Windows Mobile Apps and Games] schettj:
Sure, for simplicity sake I went with hourly or longer updates. You could change that to whatever interval you like there. I'm usually not so far away from the outside that I can't tell what it's doing, so mine only updates every couple hours ;)

The three items displayed on S2U2 screen are controlled by A_C - I tried putting some text in where the temps go, and S2U2 just ignored them. That was back in version .95 or so, but I don't think its changed since.
[Windows Mobile Apps and Games] christopher L:
I have the temp worked out but, I only get new temps when I run it manually. The auto update doesn't work for me. I also do not have a moon at night it is still a sun. I have a ATT Tilt and I am running Mort 4.1 and S2U2 .98. Any help would be great you guys have been great, thanks.
[Windows Mobile Apps and Games] Bobo Xni:
Hi,

I'm not be able to use this script but i'd like to improve my S2U2 with my personal weather... can you send me the list of the script that you have compiled?

Thank's in advance....

If you want my personal mail address is bobo.xni@hotmail.it

Thank's a lot

BYE, Bobo ;)
[Windows Mobile Apps and Games] schettj:
My guess on the autoupdate is its still the hard coded location for the Mortscript executable (see post #7 http://xdaforums.com/showpost.php?p=1814015&postcount=7)

I've got an update I will post that should fix that in a couple hours.

Re the moon at night, it should show that if you make the change for cond to ccond in post 11 http://xdaforums.com/showpost.php?p=1815538&postcount=11

After you do that, it should work - mine did, eventually, show a moon when I changed that.
[Windows Mobile Apps and Games] schettj:
The script source is in the first post of this topic. It's in the zip archive, it's not compiled.
[Windows Mobile Apps and Games] schettj:
Posted updated script without hard coded paths, collected tweak notes into first post. That should do it for the script, enjoy everyone.
[Windows Mobile Apps and Games] VandyCWG:
Do I need to run both the clearweather and then the other one?
[Windows Mobile Apps and Games] schettj:
Nothing has changed, if your old script was working, just run with it.

If you tried the old one and it didn't ever update, you could run the clearweather script once (just like it says there in the first post) to clear the old notifications out, then just start using the new one I posted.

Just to be clear, the only change in the new script is that I did not hard code the path to mortscript.exe, or to the notiweather script itself, so it should work no matter where you've installed mortscript or what the path to your startup folder is... other then that, it's identical to the v 2.0 script.
[Windows Mobile Apps and Games] christopher L:
I down loaded and installed the new version and it works great. Thanks for all the help and this great mortscript.
[Windows Mobile Apps and Games] pure-current:
Hi schettj,

I tried your script and it works on first sight.

I'm using the user-weather and it is displayed right in S2U2.

I tried to understand your script and therefore decided to switch on error messages.

Now I get the following error:

------------------------------

Couldn't establish internet

Interpreter.Connection

Line:

Connect("The Internet")

------------------------------

After that follows a messagebox saying something like he cannot reach yahoo..

How does Mortscript establish "The Internet"?

As I see it, it seems to work when docked via activesync. Then he can retrieve data, which is displayed correctly in S2U2.

But when not in the cradle, it seems not to be able to establish a internet connection.

I'm using htc herald with german (vodafone) ROM, WM6

Any idea?
[Windows Mobile Apps and Games] pure-current:
OK. I figured out myself. (With the help of Mortscripts PDF-Tutorial)

On my german device the line must read

connect("Internet")

What doesn't work is: connect("The Internet")

Maybe this is also helpful for others with non english devices...

Greetings!
[Windows Mobile Apps and Games] holmanm:
I added the following code to place a Weather Radar jpeg for the Landscape background of S2U2.

RegWriteString("HKCU", "\Software\A_C\S2U2\", "WallpaperL", "\Program Files\S2U2\gfx\WallpaperL.gif")

Run("\Program Files\S2U2\iLock2.exe","-refresh")

Download "[URL="http://files.kfvs.com/weather/images/regradar.jpg%22,%22/Program"]http://files.kfvs.com/weather/images/regradar.jpg","\Program[/URL] Files\S2U2\gfx\RadarL.jpg"

RegWriteString("HKCU", "\Software\A_C\S2U2\", "WallpaperL", "\Program Files\S2U2\gfx\RadarL.jpg")

Run("\Program Files\S2U2\iLock2.exe","-refresh")

Just replace http://files.kfvs.com/weather/images/regradar.jpg with the jpg, png or gif of your area (I used Google images "weather radar" to find the best image). If you use png or gif be sure to change the "\Program Files\S2U2\gfx\RadarL.jpg" string to png or gif.

The only thing I dislike is if the phone is awake when this runs, the download progress screen shows up for a few seconds. If any Mortscript experts know a way to avoid this I would appreciate it.

Mike H
[Windows Mobile Apps and Games] schettj:
Thanks! Will update the 1st post.

I'm looking into the mapping of Yahoo's condition codes - I am not sure they always map to the icon set that A_C includes with S2U2...
[Windows Mobile Apps and Games] schettj:
Very cool! I like the refesh command, well done.

If you use READFILE instead of Download, it will silently download to a variable - then you could WRITEFILE the variable to the wallpaper file. It might not work with binary files, I have not tried it. You could also skip downloading if S2U2 is not the foreground window (ie, its in use)
[Windows Mobile Apps and Games] holmanm:
OK, I tried READFILE/WRITEFILE but just ended up with a 4 byte RadarL.jpg, guess it doesn't do binary, but thanks anyway.

By the way thanks for the original script. I had been wanting to make one to do this radar thing for a while but I wasn't sure how to get the script to run every x hours. Since I use WeatherPanel I didn't need the UserWeather so I just modified notiweather.mscr to work for me.

I'm not that great at making scripts from scrap, but I can modify the the crap out of an existing one.

Thanks
[Windows Mobile Apps and Games] pure-current:
GPRS Connection stay active...

One question remains to me:

As I observe, the internet connection established through the script (in my case GPRS/Edge: VFDE Web) always stays on after the download of the current weather data.

Does anyone know if this can cause traffic although it is not used by mortscript anymore?

As I read in the PDF of Mortscript there is actually no way to disable the connection which was established before.

Is there a way to automatically disable a connection after a certain idle time?

Greetings from Germany
[Windows Mobile Apps and Games] schettj:
Not in mortscript, no. You can change the script so it does not run at all if there is no internet connection, instead of turning the connection on.

There are regedits out there that disconnect after an idle period, but I don't recall them right now.
[Windows Mobile Apps and Games] olly68:
is it possible only update the weather when i sync on my PC
[Windows Mobile Apps and Games] schettj:
With a little editing of the script, it should work if you manually run it when you're connected. I don't really know how to have a script run automatically when you're connected via activesync.
[Windows Mobile Apps and Games] curious george:
Is there any way to get it to show the HI/Current/Low? I would like to see all 3.

Thanks,

Curious George

Awesome script by the way. Works great on my Wizard.
[Windows Mobile Apps and Games] nursemm05:
how do I get this to work my with weather program and not yahoo weather? I'm running Fizz weather. Thanks!
[Windows Mobile Apps and Games] schettj:
Not in Su2u, no.
[Windows Mobile Apps and Games] schettj:
This is a script for those without any weather app. If your weather app puts the forecast values somewhere you can get at in mortscript, then you might be able to modify this script to take its forecast data and stuff it into the userweather registry - but I have no idea how or if its possible.
[Windows Mobile Apps and Games] TTJB:
Great program and thank you for developing. But, I can't get this to update at all. Just stays the same temp and icon regardless of weather or time. I've read through all the post and can't figure out what I'm doing wrong. Running on a tmobile mda thanks for help anyone'
[Windows Mobile Apps and Games] nursemm05:
I'm recently having this problem. I have to clear then restart the weather script.
[Windows Mobile Apps and Games] TTJB:
All I want to do is show current weather icons and current temp. Is that too much to ask for? Lol. Please help anyone.
[Windows Mobile Apps and Games] schettj:
Are you running the latest version of the script? With MortScript 4.1?

The script as posted will just show you the day's forecast - so it will not change during the day unless you edit the script so it shows the current forecast or current temp. Even then s2u2 may not refresh to show changes.

I've made some changes for my own use that address this - I'll post an alternate script in a bit.
[Windows Mobile Apps and Games] TTJB:
Thanks Schettj, yes I'm running mortscript 4.1 and after working the initial time I receive a notification error cannot execute storage card\program files\mortscript.exe . Waiting patiently for you assistance.
[Windows Mobile Apps and Games] oddhours:
OK, I've got notiweather.mscr loaded into the start menu with my zip code, I'm running mortscript 4.1, I have S2U2 and RLToday loaded. I have a WM6 device (AT&T Tilt by HTC) and I have restarted the device.

I can't seem to produce the weather and Icon in either the S2U2 screen or in the RLToday today screen using the <Registry> key.

Would you mind sharing with us the process for how we "edit our registry and add ShowWeather, DWORD 5."

also...

How can we test to ensure the rss weather data is in the registry and in what format is it stored so we can access each element in our RLToday skin.xml file

Thank you.
[Windows Mobile Apps and Games] nmeister:
I want to use weather icons in my rlToday skin, and I am struggling a little. I want to take the number from the S2U2 registry entry and copy the corresponding icon to a new file currentWeather.png. I cant figure out the mortscript to do this. Is anyone using the script this way to get an icon, instead of just the words?
[Windows Mobile Apps and Games] schettj:
I have this working...

Check out this version of the script.
[Windows Mobile Apps and Games] alipendier:
schettj

:cool:
[Windows Mobile Apps and Games] fuLLah:
works great on my Wing but I do have two questions.

1. Is it possible to display the weather for more than one day at a time? Like the expected temperature for the whole week?

2. I know this app is syncing weather with Yahoo but right now Im getting a reading of 35* and chance of rain/ snow on my phone but when I check yahoo on my pc for my zip Im seeing 32* and sunny. I did update the script to change my zipcode to 11419 and deleted the line that changes the weather on the screen to the next day after 4pm. What would be the problem?

3. Is this weather service going to cost me money or is it just getting info off of yahoo?
[Windows Mobile Apps and Games] curious george:
schettj,

I have an idea that I would like to see if you would consider. It is a combination of changing backgrounds based on weather and time of day. And possibly adding animation or weather events like snow, rain etc...

Here is how i would invision it to work.

A mortscript that changes the back ground pic at certain time intervals throughout the day while incorporating the weather feed from yahoo on a picture of a lanscape where only the sky changes to reflect the updates. Sinrise/Midday/Dusk/Sunset/Overnight(phases of the moon).

It would probably be best if there where numerous backgrounds for each time internal depecting what the weather is doing outside via the information that is being drawn off of your yahoo feed. These could all be still pics.

If you want to make it interesting you could always have the script change the background to an anamated .gif vs the stills.

I know it is a tall order and I will help with it any way I can. Like gathering images and building the possible different combinations of backgrounds. Let me know if you think you can devote some time to it.

Thanks,

Curious George
[Windows Mobile Apps and Games] tcestes:
Hi there. I just downloaded Mortscript 4.11b5 and have the version 1.21 of Slide2Unlock. I have a Cingular (HTC) 8125 and I'm running WM5. I've tried to follow directions the best I can and cannot get any type of data to show up on my S2UL screen. All I get is 0/0.

I tried the fix for changing "The Internet" to "Internet" and still have the same results.

As far as the info about file paths, here is what I have in my script. Can someone please help? I really want to be able to use this neat feature.

ALSO....I have uploaded my complete script I'm using. Please check it out and see if I'm missing something.

mort = SystemPath("ScriptExe") & "\MortScript.exe"

script = SystemPath("ScriptPath") & "\" & SystemPath("ScriptName") & SystemPath("ScriptExt")

# kill any lingering notification

RemoveNotifications("\Program Files\MortScript\MortScript.exe", "\Windows\Startup\notiweather.mscr" )

# set notify for myself at next time

RunAt("\Program Files\MortScript\MortScript.exe", "\Windows\Startup\notiweather.mscr" )
[Windows Mobile Apps and Games] tcestes:
Ok, here's a brief update. It looks like it finally tried to connect to my internet, but it said the answering modem was disconnected. Odd thing is after I got this message, I can't even browse on my internet using Internet Explorer. It gives me the same message. How is this breaking the internet on my phone???