Some Ui Functions In Objectdock

So, someone on the Stardock newsserver wanted to have a shortcut to the FIND FILE dialog in the dock. I'm not sure what the point is, since you can just do that with a preset keyboard shortcut, but...

...I found a neat way to do that on Virtual Plastic. You can just make a .VBS file containing the following:

Dim objShell

Set objShell = CreateObject("Shell.Application")

objShell.FindFiles

that when executed (via a shortcut in the dock, or any other way) will bring up that dialog.

And you can sub in a bunch of other functions where "FindFiles" is to get other UI dialogs.

Click and scroll for what they are:

http://www.virtualplastic.net/html/misc_cut.html

The same guy wanted to be able to have a shortcut to system shutdown, but wasn't able to use shutdown.exe, because he didn't know the proper extensions.

The solution I wrote was this:

"Shutdown.exe is meant to be used at a command line. So you've got to add

some arguments to the dock shortcut.

Once you've made the shortcut, stick the following in the argument field (no

quotes): "-s -t 00" That will shut down your system with a countdown of

zero seconds. You can set that countdown to whatever you want...

Use "-l -t 00" to logoff, and "-r -t 00" to restart. If you don't add in a

"-t XX" you will have to wait 30 seconds (with a little clock) before you

shutdown or restart or log-off."

Anyways.

The point is, does anyone know any shortcuts to UI functions that would be helpful in the dock? ObjectBar has a lot of these built in... presumably ObjectDock will as well. But it doesn't right now.

#16569

I don't know if this is any help:

http://www.dx21.com/SCRIPTING/RUNDLL32/REFGUIDE.ASP

I still had it lying around in my favourites somewhere.....

#16593

H-ey. That's exactly what I was looking for!

#16596