toniolol
21-05-2008, 11:10 AM
A variant of notiweather_wallpaper (http://forum.xda-developers.com/showthread.php?t=390841) by superflysocal (http://forum.xda-developers.com/member.php?u=557214)
So first I want to say tanks you to superflysocal to give me the idea of this release and allow me to use the wallpapers he use for his application.
When I saw is application I wanted to do the same with HTC Home Weather without using S2U2.
So my application read the HTC Home Weather and change the background wallpaper today according with the last weather update.
It's made when you power on your PDA if the weather have change since the last time you powered on.
Maybe if someone wants it I can make a timer to to this too.
This application will change both your landscape and portrait background.
I use the portrait jpg from superflysocal post and modify him landscape to put them in 320*240 so you could replace them by what you want.
It using MortScript and you're not obliged to install MortScript, because my cab include the MortScript.exe and exe files to launch scripts.
What do you need ?
A PDA with WM... Working on WM6.1, don't know on others.
A HTC Home, don't know issues about the version, working on the HTC HomePlug 2.1.1005.722
There are 3 scripts :
* Start.exe
This one save your current backgrounds (landcape and portrait), write into registry to be clean with the Settings/Personnal/Today "Use this picture as the background", so you can see if my application is running and write and Run On Power On event.
* HHW2BGD.exe (linked as Refresh)
This one is the application core, so it read the weather registry and if it see differences since last launch (written in registry as key_old) it search the good jpg and make it as background (landscape and portrait) and lauch a refresh screen (for now I'm using a exe which make it because the command doesn't want to work good in MortScript language...help !!!). This exe was extract from the cab found here (http://forum.xda-developers.com/showthread.php?t=386931) but I don't know who make it ??? Thanks for him, very great exe.
* Stop.exe
This last one is used to end up this application, it stop the Run On Power On event, eventually kill the script if running, replace the original background and delete the registry entries made.
What will be install ?
* \Program Files\toniolol\HHW2BGD\
It contain the 3 scripts and 5 exe (3 for the script, 1 for MortScript and 1 for the refresh).
* \Program Files\toniolol\HHW2BGD\BackGrounds\
It contain 3 directory : one for your backup background, one for the landscape and one for the portrait.
* Start/Programs/Weather/
It contain 3 links to Start/Stop/Refresh the application
This application is a beta and so use at your own risk.
Just remember : before uninstall it use the STOP.EXE in the Start/Programs/Weather menu.
If you forgot, the Run On Power On event will stay so you have to destroy him using an software like "check Notifications" or launching the Stop script again : you'll find it with the cab at the end of this post.
Current version :
Version 0.1
This is the first release.
It change the background landscape and portrait when your Power On your PDA and when HTC Home Weather have changed.
Working on :
Tested on TRINITY with FInixNOver 3.2 and 3.3, WM6.1, HTC Home dll v2.1.1005.722 and v2.0.1025.721.
TODO :
Script the TodayRefreshCmd.exe.
Force to update the weather.
Bugs :
I think this application will only works on PDA with 320*240 and 240*320 resolution. maybe it's possible to have configuration files for others.
ScreenShots
http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_01.jpg http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_15.jpg
http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_13.jpg http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_10.jpg
So first I want to say tanks you to superflysocal to give me the idea of this release and allow me to use the wallpapers he use for his application.
When I saw is application I wanted to do the same with HTC Home Weather without using S2U2.
So my application read the HTC Home Weather and change the background wallpaper today according with the last weather update.
It's made when you power on your PDA if the weather have change since the last time you powered on.
Maybe if someone wants it I can make a timer to to this too.
This application will change both your landscape and portrait background.
I use the portrait jpg from superflysocal post and modify him landscape to put them in 320*240 so you could replace them by what you want.
It using MortScript and you're not obliged to install MortScript, because my cab include the MortScript.exe and exe files to launch scripts.
What do you need ?
A PDA with WM... Working on WM6.1, don't know on others.
A HTC Home, don't know issues about the version, working on the HTC HomePlug 2.1.1005.722
There are 3 scripts :
* Start.exe
This one save your current backgrounds (landcape and portrait), write into registry to be clean with the Settings/Personnal/Today "Use this picture as the background", so you can see if my application is running and write and Run On Power On event.
* HHW2BGD.exe (linked as Refresh)
This one is the application core, so it read the weather registry and if it see differences since last launch (written in registry as key_old) it search the good jpg and make it as background (landscape and portrait) and lauch a refresh screen (for now I'm using a exe which make it because the command doesn't want to work good in MortScript language...help !!!). This exe was extract from the cab found here (http://forum.xda-developers.com/showthread.php?t=386931) but I don't know who make it ??? Thanks for him, very great exe.
* Stop.exe
This last one is used to end up this application, it stop the Run On Power On event, eventually kill the script if running, replace the original background and delete the registry entries made.
What will be install ?
* \Program Files\toniolol\HHW2BGD\
It contain the 3 scripts and 5 exe (3 for the script, 1 for MortScript and 1 for the refresh).
* \Program Files\toniolol\HHW2BGD\BackGrounds\
It contain 3 directory : one for your backup background, one for the landscape and one for the portrait.
* Start/Programs/Weather/
It contain 3 links to Start/Stop/Refresh the application
This application is a beta and so use at your own risk.
Just remember : before uninstall it use the STOP.EXE in the Start/Programs/Weather menu.
If you forgot, the Run On Power On event will stay so you have to destroy him using an software like "check Notifications" or launching the Stop script again : you'll find it with the cab at the end of this post.
Current version :
Version 0.1
This is the first release.
It change the background landscape and portrait when your Power On your PDA and when HTC Home Weather have changed.
Working on :
Tested on TRINITY with FInixNOver 3.2 and 3.3, WM6.1, HTC Home dll v2.1.1005.722 and v2.0.1025.721.
TODO :
Script the TodayRefreshCmd.exe.
Force to update the weather.
Bugs :
I think this application will only works on PDA with 320*240 and 240*320 resolution. maybe it's possible to have configuration files for others.
ScreenShots
http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_01.jpg http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_15.jpg
http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_13.jpg http://toniolol.free.fr/e107_files/downloadimages/hhw2bgd_10.jpg