Hi Bruce,

I'm working on this script:
http://groups.yahoo.com/group/power-pro/files/0_TEMP_/ThumbMin.txt

If you minimize a window, this script should generate thumbnails from
windows and show them as desktop buttons; something like this one here:
http://pemarchandet.free.fr/fvwm/002/Artic_messy.jpg
http://pemarchandet.free.fr/fvwm/003/Smokey_messy.jpg

Yes, I know, it's pure, useless eye-candy, but every now and then even
PP needs eyecandy.

What I'm doing is capturing the screen with Irfanview, changing the
canvas size with NConvert (*), saving it into a file, generate
dynamically a bar skin, and add a button (tip: right-click to close
the bar). So far so good.

But even if the window contents change, e.g. I switch to another tab
in Firefox, and call the script again, the bar's background gets not
updated. I've tried using cl.redisplay, cl.refresh, deleting the
thumbnails, editing the skin file manually and reapplying it, with no
luck.

I suspect bars generated with cl-functions cache the skin files and/or
bg-images, is it so? Help file says bar.close removes bars completely
from memory, so I assume it's not bar.close(). Btw, you'll find copies
of Irfanview and NConvert in the same dir as the script, pls don't
redistribute them.

TIA,
Cüneyt

*: Does anyone have a single app for this? Irfanview can capture but
cannot manipulate the canvas, and NConvert can do canvas but can't
capture screen :( No, ImageMagick doesn't work (at least import.exe)
under Windows without an X Server.

**: Finetuning like positioning the bars on screen, overlaying icons
is not done yet, so don't use it! Any ideas, improvements welcome.

***: I hope I've read the help file thoroughly this time.






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to