To create a button or hotkey which ejects the CD or DVD tray, use a command like this:
ContextMenu FILE="D:\" VERB="Eject"
Replace D:\ with the appropriate drive letter.
Below is the full button XML which you can paste directly on to a toolbar. (Copy the text below into your clipboard, then enter Customize mode, right-click an empty space on your toolbar and select the Paste option.)
Nice, thanks. I presume a corresponding command to close the tray isn't available? On that assumption, here's a three-button hack to open and close the tray, and go to the drive :-
(Copy the text below into your clipboard, then enter Customize mode, right-click an empty space on your toolbar and select the Paste option.)
Put Wizmo.exe at C:\WINDOWS\WIZMO.EXE (or adjust the path accordingly). Get Wizmo here: grc.com/wizmo/wizmo.htm . It does lots more besides the CD tray: power settings; screensavers; monitor blanking; volume; play media; logoff/reboot; and more.
Remove "quiet" to make Wizmo make a little sound after it opens/closes the tray.
Remove "=r" to make Wizmo act on the default removable drive, whichever drive letter is assigned (on 95/98/ME "close" only acts on the default, I think).
Running it causes Process Monitor to crash every time which is a bit suspicious, though could just be a bug in Process Monitor.
Anyway, if it's not something you've written yourself then we prefer that you post links to the original site with the program, that way people can get updated versions of it if they read the thread later. I couldn't work out where it came from, though.
zhgwangff you need to show us where it came from, or at least explain it's origin. Not doing so will result in your account here being deleted.[/quote]
Sorry for that, I gave the file above, it works for me very well
I made a hotkey Ctrl+E for "/home\Plugins\Cdoc.EXE",
Do Ctrl+E in Dopus, the Cd Tray will open, Do it again, it will close.
thats amazing
But I do not know how to explain its origin, I downloaded it from a set, which i dont remember now, I think you can just test it with antivirus, and have a try, if this is forbiden, then delete it again, I just want to share, thats all.
I cant find the original set, which I downloaded it. I can find many files with this name in internet now, but not sure if they are safe. But I've used mine, which I uploaded, for one year.
Forget it guys if you dont trust it, I will not upload it again.