Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    You guys have to click the link I added at the bottom of the homepage

    http://www.stevenmoseley.com/

    The script (actually VBScript) opens all your CD ROMs !!

    Only works on Windows Machines w/ Windows Media Player installed.

    EDIT: Script removed from my site. Here it is:

    Code:
    <a href="#" onClick="openCDs()">Open CDs</a>
    
    <script language="VBScript">
    <!--
    Function openCDs
    	Set mediaPlayer = CreateObject("WMPlayer.OCX.7" )
    	If mediaPlayer.cdromCollection.count >= 1 then
    		For i = 0 To mediaPlayer.cdromCollection.count - 1
    			Call mediaPlayer.cdromCollection.item(i).eject()
    		Next
    	End If
    End Function
    -->
    </script>

  2.  

  3. #2
    Senior Member skrlin's Avatar
    Join Date
    Apr 2003
    Location
    Illinois
    Posts
    562
    Member #
    1063
    Awesome!! Makes me wish I had bothered to learn VBS.
    - Brian

  4. #3
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    works for me too, although it took ages for my CDRW drive to pop out
    JR

  5. #4
    Member
    Join Date
    May 2003
    Posts
    92
    Member #
    1526
    naw man, thats cool. but ive seen a .JPG file that opens your drives. now THATS cool. its just a picture, but when viewed opens ur drives.
    If there is no god, then who pops up the next Kleenex?

  6. #5
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    if you add a Content: text/html to your header, any .jpg file will be interpreted as html

    It's way better when you say "Free cup holder, click here" (the first time I saw the js function). Although, this is another reason I hate js If they can open my cd-tray what's to say they can't restart my computer. D:
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    I thought that trick is via VBScript...either way, it's definitely Windows-only and most likely IE-only (and annoying as hell with my 3 CD drives).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    ...

    what do you need 3 for?
    JR

  9. #8
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    DVD, Burner, CD (never even use DVD or CD anymore, put them in to fill up some bays and make the computer heavier ).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  10. #9
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    LMAO. Well I like it !!

    BTW, filburt's right... it's a VBScript that accesses the Windows Media Player component built into IE.

    I replaced all my ROMs with a DVD Burner (which I just got on ebay for $200 shipped!).

  11. #10
    Senior Member skrlin's Avatar
    Join Date
    Apr 2003
    Location
    Illinois
    Posts
    562
    Member #
    1063
    I just bought a DVD+R/RW - CD-RW combo drive from office max at $219 with $70 in mail in rebates. I still have a CD-ROM for CD 2 CD burning.
    - Brian


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

anything
,

cd rom opener java script

,
cd rom scrip opener
,
cd-rom open and close in javascript
,
how do you eject the cdrom in javascript
,
how to open cd drive with js
,
jaca script open cd
,
javascript open cd tray
,

javascript roms

,
open cd drive javascript
Click on a term to search for related topics.
All times are GMT -6. The time now is 12:59 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com