Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Triming spaces from string
TrackTheColors Xtra Error
Set Up Users Components
Interface Colors in all palettes
MAAD FTP Xtra
Import image (at runtime)
Reshacker
Blend given sprite from 0 to given value
E-mailExec 2.5
Director Workshop
MediaMacros Xtras Mall
 

 

 

Behavior Find CD Drive Letter

Added on 6/8/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: MediaMacros (website)

Requires File Xtra. Use this to find the letter of the CD drive on the users computer. Returns a LIST of all CD Drives (this is in case the user has a CD, CDR, CD-RW, etc and the disc is in the 2nd or 3rd drive.)

--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know.  :-)

on FindCDDrives  
  set cdDrives = list ()  
  set dList = DrivesToList()
  set numList = count (dList)    
  repeat with i = 1 to numList
    set chkDrive = getAt(dList,i)
    if driveIsCDROM(chkdrive) = 0 then
      add cdDrives, chkdrive
    end if    
  end repeat
  return cdDrives
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail