[release] Systats Weather Mod

SysStats Weather by Duckie and DeadZombie

Current, 4-day, and 6-day mods by Kurt (Me)

http://screenshots.haque.net/screenshots/v...nshot-18754.jpg

Changes

- Added semi-mini version (current conditions only)

- Added 6-day forecast version

- Enlarged forecast icons

- Removed 'extra links' bar

- Leveled forecast icons with forecast temperature

- Changed city name to current condition (easily reversable)

Installation

- Download SysStats Weather original by Duckie & Deadzombie here

- Download Futura Fonts and install them FIRST! Available here

- Unrar contents to SysStats folder

Instructions

- Add new SysStats instance

- Load weather config

- Right-click weather and choose 'Configure Meters'

- Under meters, choose 'Weather' then click 'Configure'

- Change '20902' to your zip code

- If you want your desklet to display your city instead of the condition, go to the right column and change 'city' and 'city under' to your city name.

- Click ok

Done.

Extras

- Download the 'location finder' here and run it to find your city code.

- Make sure to remember or write down the number you are given.

- Use this to edit line 28 in your 'Weather.ini' file

"Shortcut=www.weather.com/outlook/travel/local/XXXXXXXX?from"

changing XXXXXXXX to your city code

Download

Download Page

Credits

Big thanks to Duckie and Deadzombie for creating this amazing desklet in the first place and for giving me permission.

Enjoy!

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

And i thought it was clear that images couldn't be larger than 500 x 375 pixels of size -_-

The Image Has Been Linked

// Seph

#199218

YES - great work - is the transition between the different modes included or still in progress?

:woot: hope to see more things in this style.

#199220

No, there's no transition with these yet. judge is still unsure as to whether or not that can be accomplished with SysStats, or even AveDesk in general.

#199233

Nice...thanks!:)

#199321

i think I did much better with my current weither release :6

edit:i take it back, your is clearlly better :lol:

#199342

Kurt871, thanx for the mod. And Judge thanx for the swapper. They both work perfectly, and combined they create the perfect weather widget!

And of course thanx to duckie and deadzombie for creating the original widget.

#199614

I got a problem of background image don´t showing... so i´ve read your .ini file and saw that your files point images to "C:\Program Files\AveDesk\Desklets\SysStats\images\WeatherFab\Background-Bottom-Expanded.png" and far as i biw Systats should go on Docklets folder. Maybe you should change or something. (Well... if ´m the only one complaining... maybe you should keep this way, i should change, don´t?)

#199665

I have a little bug, well not exactly a bug, more a certain issue in the way AveDesk/SysStats work.

After the restart of the PC/AveDesk all the tree widgets (Small, Medium, Large) are showing, and only after a double click/click on one of them the other two disappear and continue to work as they should. I'm wondering if there is a possible work around for this small issue?

#199716

Originally posted by ronin@Aug 7 2004, 09:14 AM

I got a problem of background image don´t showing... so i´ve read your .ini file and saw that your files point images to "C:\Program Files\AveDesk\Desklets\SysStats\images\WeatherFab\Background-Bottom-Expanded.png" and far as i biw Systats should go on Docklets folder. Maybe you should change or something. (Well... if ´m the only one complaining... maybe you should keep this way, i should change, don´t?)

<{POST_SNAPBACK}>

...just fix the path to where your images are..., this can be done in the configuration windows of the desklet too.... ;)

#199735

oh my dear goddess in the heavens above...

THIS is what we have a community for.

Teamwork at its finest.

BRAVO all of you...Bravo!

#199760

judge: Excellent work on the script. It really does feel like konfabulator now. Really, great job.

Duckie: Aw, shucks.. *turns red* You're certainly included in that, too. A 3-way march to a perfect Konfab weather. Teamwork at its finest, indeed. :)

#199782

I've a slight problem with the "weather big" config. All is good, except for the shortcut part. When I got to configure the shortcut it keeps putting the shortcut as a weather meter, and I can't change it.

The weather small and medium configs (and shortcuts) work fine, it's just the big guy that's giving me a hard time.

#199786

Originally posted by JRoc@Aug 7 2004, 03:06 PM

I've a slight problem with the "weather big" config. All is good, except for the shortcut part. When I got to configure the shortcut it keeps putting the shortcut as a weather meter, and I can't change it.

The weather small and medium configs (and shortcuts) work fine, it's just the big guy that's giving me a hard time.

<{POST_SNAPBACK}>

are you talking about judge's tutorial?

#199792

I was talking about judge's tut, but I figured it out myself, I just had to do a bit of tweaking.

#199798

@judge

Is there anyway you could add something like this into the systats scripting object:

widget.config = [whatever.ini]

widget.update

That way you'd only need one widget rather than three?

#199886

Check out this thread a way to start a desklet even if avedesk isnt running start desklet vbs that means thier has to be away to stop one now you start and stop the three. Please one of you scripters throw this together

#199903

I've got a small problem - Some of the little icons aren't showing up in the forecast panes. Also, in mini view, there seems to be some black text behind the "Partly cloudy" type part. Any ideas?

#200047

Originally posted by Tadis@Aug 7 2004, 07:38 PM

@judge

Is there anyway you could add something like this into the systats scripting object:

widget.config = [whatever.ini]

widget.update

That way you'd only need one widget rather than three?

<{POST_SNAPBACK}>

dim av
set av = createobject("avedesk.application")

Dim dis,di,d
set dis = av.availabledesklets
for each d in dis

if d.Name = objargs.item(1) then


set d = av.runningdesklets.add(d)

end if
next

save that in a file called "add_desklet.vbs" and call it like

"add_desklet.vbs iTunesWidget"

#200050

Thanks for the code, I'm familiar with this code already, ie. to add another desklet and it works well, especially as a shortcut, but it's not what I was trying to get at.

I was thinking that within the SysStats or Avedesk scripting model, if there was a way to update an existing desklet rather than add a new one?

so for example it would be (in pseudo-code):

for each desklet in avedesk.desklets
if desklet.type = "Sysstats" then
Select case desklet.config

Case "Weather.ini"
desklet.config = "weather1.ini"

Case "Weather1.ini"
desklet.config = "weather2.ini"

Case "Weather3.ini"
desklet.config = "weather.ini"
....

make sense?

#200081

Makes sense perfectly.

With some features on the stack for 1.2, code will look like:

for each desklet in avedesk.runningdesklets
 if desklet.about.name = "SysStats" then 'this is already implemented in 1.1
   with desklet.objectmodel              'anything right to objectmodel is Judge specific
     if .config.name = "small_weather.ini" then
       .loadconfig "medium_weather.ini"
     elseif .config.name = "medium_weather.ini" then
       .loadconfig "large_weather.ini"
     elseif .config.name = "large_weather.ini" then
       .loadconfig "small_weather.ini"
     else
       'we hit another SysStats with a different config: do nothing
     end if
   end with
   exit for
 end if
next

offering a desklet.config directly won't be possible, since 1.0, 1.1 desklets

or legacy OD 1.x docklets possibly won't have a config at all. The above

is just a guess how a SysStats config can be queried and loaded. There seems

to be a ConfigFile property that can be read/written but I don't know the

whereabouts of it yet.

#200105

You guys need to upload this to DockEx.com

#200108

Uuuuh! This is so f****** cool.

Best. docklet. ever!

Thanks for all your hard work.

#200137

Fantastic mod, Kurt and judge! Am loving every bit of it!

One thing though, is there any way for the weather systats to remember the last read weather feed when we're offline (for dial-up users :() rather than returning the variable strings once it updates every interval? That would be neat coz we can still see the weather forecast even when we're offline.

Cheers on a great mod and of course to Duckie and DZ for the original weather expanded widget!

#200272

@Judge

OK, so is there anyway of changing this directly through SysStats at the mo? ie. without referencing Avedesk.

I haven't found a SysStats activeX object that I use in vbscript via createobject but is there a way?

#200390

while we're talking about scripting, have we found a way to to have the "Today/Tonight" (day=0) change depending on the time of day, as in Weather.com's feed?

#200414