-
An "eject" command?
Is it possable to make a button with the action to "eject" the cd-rom drive?
-
Senior Member
I should hope not, otherwise some annoying ad banner might find it funny to make your cd-rom drive dance in order to get your attention.
-
well...
Well in my case i want to make a juke box interface... not some evil banner from beyond... :-D
-
No... it's not possible, unless you use an active-x command script embedded in the html to manipulate the auto-detect function on the operating system. This obviously is frowned upon, and then it would only work if the user had not disabled auto-insert, or disabled active-x (you'll find alot do).
So really.. no...
Now you CAN create a virtual jukebox and have IT eject... that's up to you
"If you can't beat em, join em"
Sorry no banner, Tripod deleted my account :-(
Can't be chewed to sort out another account :-)
-
Not sure about Flash, but here's some VB script that you just need to embed into the head content of a basic html page to do this:
-------------------------
<SCRIPT language=VBScript>
<!--
MsgBox "Click to open CD rom drive",64,"CD Rom Opener"
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If
-->
</SCRIPT>
-------------------------
Not sure if this helps you?
-
Dang
Well to bad I can't do it in Flsh but I'll look into the VB script. Thanks for your help guys!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|