
eject command for CD Player
Fear you have no luck with your idea. WSH itself doesn't
provide a command to eject the CD. There are a couple of
tricks, you can use a shell command, or you can use an
ActiveX control (I wrote one for my own use) to open/close
the CD tray. But Windows (exept Windows 2000) doesn't
provide a way to run a script at shutdown.
G. Born
______________________________________________________
Check out the WSH Bazaar at www.borncity.de
Donio schrieb in Nachricht ...
Quote:
>I want to eject any CD in the player before windows shutdown.
>On top of this I want a dialog box to tell me to close the rack, click on
>the ok button and then windows can turn off the power supply!!
>If I don't have this dialog box the rack will open but I won't be able to
>close 'caus no more power !...
>What bother is the command to eject the CD..
>Thanks a lot guys.