Help! Weather System?
RomanDA Need a little help?
Tuesday, May 19, 2009 by Automan | Discussion: DesktopX Tutorials
Hey;
Hope everyone is doing great!!!
I posted a link to an image of my 5 Day forcast and the way it's layout is. Image Below:
Hey RomanDA ; I there guy we have typed in the past a lot on mods for Desktopx. Where you at on this one buddy?
I want to use the Weather XML but I don't or haven't had the time to look into all of the weather widgets for DesktopX and also the Objects for Forcasting in DesktopX.
I am trying to make my DesktopX Weather come out the same as i the screenshot link and can't seem to get the images to show or get it with in the same layout.
I always keep it on and it checks the weather XML every 30 mins. I am using Samurize to don this as the program had a Weather 2004.dll that makes it wasy to set-Up the 5Day forcast.
So can some one give me some help on the switch to DesktopX. When the Prometheus Dark DesktopX Pro Theme comes out I will give all of the weather related accomplishment CREDITS to who ever might help on this.
I hope some one can help as I don't want to pick someone elses weather Object or Widget apart and make it work with this theme.
Thanks
Automan
Reply #22 Wednesday, June 10, 2009 9:35 AM
Whoo Hi RomanDA;
Yes the way the weather is set up not I have Photoshop Icons of weather in 2 sizes and in a Directory called " WeatherIcons84 " for the Today Weather with all the bells a whistles like the Barometer gauge,ets and " WeathereIcons42 " for the 5Day weather touches up in Photoshop. I am currently working on enhancing the PNG's so that they are animated, but it's taking a while, but they are cool when you see rain and lightning thats actually moving in animation. That brings me to a good question I have. The AniUtil that comes with DesktopX can't handle some of the files I save to an Animation directory and produce the correctly. Do you know of a program that will do this, I have Photoshop CS4 and thought the Animation section in it would do it but they don't work in DesktopX right after you set them to be animated.
Also the reason for the image directories, is so that I can keep every thing concerning the weather seperated from the Theme directory so that if I want a new set of Icons that are better, I just download then and Automan the sizing in Photoshop.
Please help me build this, and all the ccredit goes to you and sViz if he get into the heat of the scripting.
1. All I need to do this isone object " layer " and place the selected infor onto it.
2. Asection in the script that has the legal copy"mine" other folks can sign up and finally be legal. Stardock doesn't evn know I don't think that all of the XML weather Widgets are illegal with out the user signing up and using the SDK you download from Weather.com?
I will be building two weather objects "Today Weather" and 5Day Weather" If one is build I can use it to make the other.
This widget will be one of the COOLEST out there, and if I accomplish this, You and sViz "onboard" can submit them as I will give you the codes and Graphics and info in a Zipped for mat so that you can use them and pack them up and distribute them. After all you folks would be doing the scripting which I can't do.
I feel like I am fishing trying to catch one of you folks and getting this caught and pull it in.
One Note: Please look at the post about DesktopX email and Vista SP2. You might want to see this as it might effect some or a lot of you Functions that folks use..
Thanks bud
Automan
Reply #23 Wednesday, June 10, 2009 10:11 AM
im not 100% sure what you need form me, but if you want to send me an email with a link to the theme, and what you are looking to have done, i will look into it.
Reply #24 Wednesday, June 10, 2009 1:46 PM
Hi RomanDA;
Here is the link to a screenshot of this theme that shows what I am running right now:
https://www.wincustomize.com/skins.aspx?skinid=24755&libid=13
You will see the Today weather at the Top under the top bar, and you will see the 5Day forcst at the right half way down. Hit the image ad you'll see it all.
As in the last post to you there is one last thing Weather.com changes to the evening weather ar 2:30pm eastern time thats when I show the 5Day night, so I have to figure ourt a way to build it to change the detail on the 5Day 1st day area to whats happening this evening.
If this weather gets build I will then get to get rid of a massave peice of code that checks the time and changes the program to tonight at the first part above the date and then changes the detail after the weather icon to the evening expectations forcast.
I am taking all of this info from another program called Samurize using a program dll called 2004.dll. And that went to the graveyard when the guy quit working on it and weather.com added the Advertizing. It messed up his detail on the first day for Day and night feature.
If this is built using the weather widget that is on Wincustomize.com then it will change the day an night feature automatically.
What I need to do is grab the XML file using my codes where I signed up and display each section thats already in the image. I also just need to have a way of pointing and using my own icons in a directory so that I can us the large PNG "80" Pixels for the today and the small png's "42" pixels for the 5Day forcast.
If i can get a script that Pulls the images and all I can do the rest and pass it by you, and you take the credit.
I like how you program for DesktopX so I called on the best. If you are located in the US and want to talk by phone I would be glad to just tell which area code your calling from and I will answer. I have to do that, because I am a Colonel in Special Forces BOps. so they make us screen or damn calls. If in the US there has to be a way to make contact by phone possible and that would not cripple fingers in the forum post to do this. And I am sure after we talked for just a minute at my penny that you would have it easly.
Sometimes when your trying to create something as an engineer of graphics and DesktopX scripting it gets really tough to get it all explained in the forum. After completion of the scripting object it can easly be placed as an "object or as a widget that can be imposted to the theme after downloading the theme.
I have to work on the 2 second drop down raar image of the east coast which I will place and image in the screen shot area. It uses html pages that anyone can place into their " My Web " area and use, it's really cool live radar...
Take care guy nad thanks for reading and possibly helping on this project. It is really cool I have used this for 2 years and then just re-did all the menues and graphics. I will show a "Graphics Menu" in the next screen shot and you'll see what I mean...
Automan
Thanks
Reply #25 Wednesday, June 10, 2009 2:17 PM
I have just uploaded another screenshot showing the graphics menu in the middle centered and also the roll down 600mi. east coast raarscreen.
Funny thing here I am doing this and you can see the animated scuare at knoxville,tn. and I looked and we are getting read to get clobbered by bad storms. Looks better than just blank though.
Here is th Screenshot link showing the Today Weather at the top of the screen under the Topbar, and also the 5Day to the right middle also I threw in a shot of the Menu System, and last but not least the very smooth roll down east coast 600mi weather active radar.
Link is below:
https://www.wincustomize.com/skins.aspx?skinid=24943&libid=13
Let me know what ya think users are already hitting the screenshots and wanting a copy of this DesktopX theme as soon as they can get t. I must say that the menu system is one of the best I have seen in DesktopX so far......It's very easy on eyes and very usefull for all computer system and software work and at the same time you have everything except a kitchen sink.....
Let me know what you think and if you might want to tackle the weather.
Thanks a million to you ad sViz for the help..
Automan
Reply #26 Thursday, June 18, 2009 9:32 AM
Hey RomanDA;;
What happened to you bud, did ya give up? I saw that the screen shot of this desktopX theme I am preparing to release soon made it into the "I Love DesktopX" area on the main WinCustomize page. thats cool. Now if I can just make this weather thingy I will be able to do the rest and release this monster.
Folks from the comments on the screen shots are really wanting, this theme.
I appreciate it all and I hav an idea.
I will use the weather example that is posted and grab all the 5Day info, if someone can tell me through a vbscripting how to point to another image when the weather widget shows the number of the XML icon for the 5Day weather.
Thanks guy...Hope you are doing well.
Automan
Reply #27 Thursday, June 18, 2009 11:40 AM
I think the problem is we're not exactly clear on what you have working and what you still need to do. Also, modifying/creating weather widgets take a LOT of hours, of which there aren't enough in the day.
So first, let's clarify what you have done and what you want to do?
WORKING:
1. Radar
2. Wind/Pressure
3. Today weather
NOT WORKING:
1. 5-Day forecast
Right? Second, what about the 5-Day is not working? Can you get the information and display it at all or do you need help doing that? OR you can get the information and display it, but you just want to change the icons?
Also, are you talking about using Base Weather to build the 5-Day?
I'd like to help, but I'm useless if I don't understand exactly where you're at, what you're doing, and what the problem is.
Reply #28 Thursday, June 18, 2009 12:06 PM
Sorry.. SViz is correct, i have no time to work on anything right now. Im right there with him 100%.
Reply #29 Friday, June 19, 2009 11:39 AM
Hi sViz;
I am going to take the weather XML that is on WinCustomize and place my info for downloading the XML file to a C:\Weather\XML directory, then I will pull all the info from the file like you guys mentioned, it's just easier.
Then I just want to vbscript the icon number to look at another directory called C:\weather\42, which has all the png numbered images and use them instead od the one that the original weather widget uses, then I will take the today weather and redirece the icon number to use C:\weather\80 for the correct size Today weather.
I think this is a good way to go and I will take the widget and import it into my theme and pull all the correct info for the Todayand the 5Day weather and make them look just like the ones I have now.
The only thing I need to do is when it has the number like " 24 " for the 5Day "1st day" it will show the "24.png from the C:\weather\42 directory.
Thats the part I can't figure out yet. I will keep looking for a way to VBscripy that Icon number to use the png file from the other directory. Once i get that small section of the script I can handle the rest of the weather.
Thanks guys, I do understand that you nare very busy, and I shouldn't have expected you to just drop everything you are presently doing and get into this thing.
I will look deeper into a re-direct script sectionand place it into the script file for the 5Day and the Today weather and ake another section and stop using another program for the weather, tha will free up the system here and I will have weather built right into the DesktopX theme.
I do want to thank you folks for all the help though, because I have copied all the scripting and I am looking over it and I will get it going.
There will be a comment section in the theme for all of your help.
I really thank you for all the help!! you folks are great vbscripters and I do appreciate you help. Dam*, I think I said that already, oh well you do deserve it.
Thanks
Col. Larry Hutcheson
aka Automan
Reply #30 Friday, June 19, 2009 12:20 PM
If you are using Base Weather (different widgets have different methods) then the easiest way to get your icons to show up is to just include them all as custom files.
Find the object called "Weather_Output". Go to Properties > Summary and click on Custom Files. Remove all the images you see there. That done, start adding your images.
DX will copy all custom files to the object directory and they will be included on export. The script will now use all of your images, providing that you name your icons the same as the originals. The original "00.png" is a thunderstorm, so your "00.png" should be a thunderstorm, and so on.
As far as having different icon sizes, I think it'd be much easier if you just made large size images (for the Today weather), then scaled them down in DX for the 5-Day...unless of course they're animated?
Reply #31 Friday, June 19, 2009 12:39 PM
sViz is correct on all the above. Making 1 object for each wather icon is the best and easiest way to go (see post #21). Again, it is much easier to take existing code and just change the images, and then your done.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!








Reply #21 Tuesday, June 9, 2009 4:29 PM
is there a reason you use a directory, and not multiple "states" in the objects?
I always used 1 weather object with multiple states to it.
If you want to use a folder, you can always use desktopx.ExecutableDirectory to tell you where you loaded the exe from, and then use a folder under that, etc.
jsut my 0.02