eject command for CD Player 
Author Message
 eject command for CD Player

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.



Thu, 06 Mar 2003 03:00:00 GMT  
 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.



Fri, 07 Mar 2003 03:00:00 GMT  
 eject command for CD Player


Quote:
> But Windows (exept Windows 2000) doesn't
> provide a way to run a script at shutdown.

There's a little free program that will -
http://www.xpertdesign.de/english/sw_xecutor_info.htm


Fri, 07 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Ejecting CD's

2. Eject my cd drive ?

3. Eject my cd drive

4. Eject CD-ROM

5. ejecting CD-Rom with VBScript?

6. Remotely Eject a CD

7. Eject CD

8. Newbie question : Ejecting a CD-Rom

9. Quick script to EJECT a CD.

10. Ejecting cd's

11. Where is the CD command in WSH?

12. gs just ejects blank pages

 

 
Powered by phpBB® Forum Software