Just noticed that DesktopX 2.2 comes with a System Shutdown Widget I thought this would be nice on AveDesk (though AD is soooo much cooler than DX), too. So I was looking for a way to bring up the Shutdown Dialog in Windows XP. And here's what I have found:
set objshell = wscript.CreateObject("Shell.Application")
objshell.ShutdownWindows
These two lines need to be saved in a plain .txt document and then renamed to .vbs. Then just add a Shortcut with AveDesk, link to this .vbs file and you're done !
So, this already works fine, but I guess it would be way cooler to have that in a ALL-IN-ONE widget without the need to link to an .vbs file. And imagine how cool a glowing MAC like POWER-ON button will look like... 
Unfortunately I have absolutely no clue how to make a widget that's why I kindly ask some of you crazy hackers out here to make this happen.
Thanks in advance,
bM3w
P.S.: I assume the above script works only with Win XP
Aqua-Soft Forums