interactive dx weather desktop

As many of you have heard i have been working on a dx theme that will reflect the weather of the user's outside enviroment. (if it is sunny outside there will be a sunny backround... anyway I finally have all the weather states made (this time based on un-(c) ed images ) but i am having trouble with one little scrpting error...Ya see... I am doing this in a theme I made for longhorn using my dock which already has a weather thing in it. Is there a way I can get the backround object (already has all the states neccessary to replace icon_cc in SS goku's script (xmlweatherbug)) to mimic the pre-existing icon_cc?

is there somthing i can do with parent realations or edit the script or somthing?

thanx
8,865 views 22 replies
Reply #1 Top
(icon_cc is the "weather icon" when I do the interactive desktop thing without another instance of xmlweatherbug running I simply name the backround object "icon_cc" and give it the appropiate states to act like "icon_cc" however when I do this and then import another weather object using the same script they have massive conflicts so I need to find a way for the backround object to mimic the icon_cc without replacing the other one)


please help
[Message Edited]
Reply #2 Top
The problem it is having is because you already have items with the same name. You will have to change all of the names your script affects that are the same as the weather script. This can be quite a chore. I integrated XMLWeatherBg into an object I use on my desktop, I considered the same thing you did. In my case, I decided not to fix something that was not broke, so I decided I would not worry if someone loaded another weather object in. Why would you need it. If you integrate the weather in on your theme with enought information no one will need to load another weather script.
Reply #3 Top
I just figured a way around it... I am just goin to replace the place where the weather icon in the dock goes with the clock so now it works.... now I just have to make the 49 wallpapers (actually i have done 5 or 6 already )

(dam double posting bug > )
Reply #4 Top
how am I supposed to do snow
Reply #5 Top
You found a way to have Desktop X script change the wallpaper?  How did you do that? I was looking for a function like that but couldn't find it in any documentation.  Is it something like "System.background" or something? Or do you just make your object huge, something I personally would rather avoid.
Reply #6 Top
I made an object the size of my desktop so it just covers the desktop up
thats why we have an animated wallpaper section
[Message Edited]
Reply #7 Top
I also have a blank wall under it and I hide the desktop icons
Reply #8 Top
GRRR
how on earth am I going to do snow over that longhorn wall > thats going to be hard. if anyone has any ideas please come foward as to how on earth this will be acomplished
thanx,
latin
Reply #9 Top
System.SetWallpaper
This allows you to specify the Windows wallpaper. You need to provide a full path to the wallpaper and then an option to define how to display the wallpaper.
Option:

0 = use default wallpaper
1 = Center wallpaper
2 = Tile wallpaper
3 = Stretch wallpaper

Examples:

System.SetWallpaper "C:\temp\wall1.bmp", 1
System.SetWallpaper Object.Directory & "wall1.jpg", 1
System.SetWallpaper "", 0 This will restore the original wallpaper.

Reply #10 Top
Snow - if you search the dx object library you will find some scripted snowflake objects that I am sure you could study the script for and create your own version
Reply #11 Top

Cool! Thanks Tiggz!  Now this gives me great ideas.
Latin, that weather thing you're doing would be great is using this function.

Reply #12 Top
actually it works better my way because I moved it 2 inches to the left so the nice part of the wall isn't covered up by the dock... also its easier to do it as an object but its just a matter of opinion I guess. Thanks for reminding me about those snow objects… I will use them. But what I was talking about is how do I change the grassy hills to snowy hills (make the grass into snow by editing the wall) I have tried screwing around with greyscale and a few other things but cant figure out how to create the illusion of snowy hills. Maybe I should put the grass layer into greyscale and make it semitransparent or something and then have a picture of snow underneath it…
Reply #13 Top

Something like this?

Reply #14 Top
ya
only with the longhorn wall paper
Reply #15 Top
BTW
how did you do that
Reply #16 Top
how DID you make it look sooo real?
Reply #17 Top
I used a picture of a snow field and just placed it on top of the other one. Nothing fancy.
The Longhorn WP would be a bit more work, since the field is a lot more complex.
Reply #18 Top
How about now?
Reply #19 Top
I uploaded it and it got rejected... it was really good but they didn't like if for some reason
I showed it to Wstaylor and he said it would definetly get in so I guess I just dont get it >
Reply #21 Top
and i also made a really cool sky in bryce and there was snow flakes in the air and everything
Reply #22 Top
It will never make it as a wallpaper here, latin. But included in your interactive DX weather widget, no problem.