[help] Desktop Picture

Juuuudge, I need some help bud. This is racking my brain ... has been almost all day.

I got your Desktop Picture config and even got it to work! But I want to be able to do something a little different with it. Nothing major, or so I thought ... but here goes.

Yours has two overlays from what I can tell. Background and the image on top of that.

Now, I want to be able to put a picture IN a frame.

So here's what I got in Overlays:

0 - Gloss [for shiney glass look]

1 - FrameShadow [Draws inside the frame]

2 - Title [Just text overlay drawn on frame like a plaque of sorts ... cause I don't use labels for these things in AveDesk]

3 - Frame [borders essentially to cover up the image edges]

4 - Picture [basically where the script puts the images]

5 - Base [not sure if I need this, but in case there's no picture?]

Now, I THOUGHT that it was a simple thing of changing you script like:

Set ov = SysStatsModel.Overlays(0) 'The picture

to

Set ov = SysStatsModel.Overlays(4) 'The picture

basically just changing your 1st overlay to my 5th. So I looked through the script and changed the other reference to the 0 overlay. But I can't find anything else that I think relates to how many overlays there are and where to draw a randomized image. Can ya tell I know nothing of scripting yet? I read through the SysStats help, but I gotta tell ya, most of it went right through my skull.

Is the script only functional for 2 overlays?

Is there something I'm missing or simply don't understand?

Oh and my config was "saved as" from yours. All I did was make a copy of the original vbs, changed the name and the values and referenced it in the config. Oh, and ya, added a bunch of overlays ;-)

#197557

Originally posted by judge@Aug 2 2004, 09:04 PM

From your description it should work - the script reads Meter(1) to get the image directory (so its easier for people to configure without editing the script) it then works out which image it is going to display and what scale factor it has to apply to it, it then waits for the overlay to read the name of the image.

So an image might not appear for several reasons:

  • You have a syntax error in the script



  • You haven't set Meter(1) to point at your image directory



  • Your picture overlay isn't reading the filename from the script (the picture overlay's meter should be the script)

So I guess the question is: What do you actually see?

<{POST_SNAPBACK}>

- The ONLY thing I changed in the script are two references to the 0 overlay to make it 4. Nothing is added or subtracted.

- Meter one is set to my directory.

- The picture overlay is set to the script.

I know the images are fine too ... I was worried about them being LONG numbered filenames ... but when I point your DTP config to the same dir it loads them fine.

Oh crap...one other tiny question ... not that I changed it or anything, just wondering what the reference to the transparent.png is in the script. Like, what does that transparent image do exactly?

#197604

OK...my computer is ... I dunno, HOT.

I'm telling the gawd's honest truth here. I read your post and thought, ok, if Judge says it SHOULD work, then so be it. I turned my computer completely off, let it rest for like 15 mins [it's over 84 degrees in the house currently] and turned it back on. Wouldn't ya know it ... Judge was right ... it DOES work.

Stupid computer!

I don't know what to say Judge ... except, thanks for making me turn off my pc. Even if it was for only 15 mins! LOL

#197628