home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 22 / cdrt22.iso / pc / bugbook / startup.dir / 00010_Script_10 < prev    next >
Text File  |  1995-06-27  |  429b  |  21 lines

  1. on exitFrame
  2.   global homeDir,cdROMDrive,localDir
  3.   if ( isCDIn() ) then
  4.     
  5.     set cdROMDrive = findMyFile(testFile)
  6.     if cdROMDrive="" then
  7.       openCDDoor()
  8.       go "insertWin"
  9.     else
  10.       if ((char 1 of homeDir)=cdROMDrive) then
  11.         go "error"
  12.       else
  13.         set localDir = cdROMDrive&":\"
  14.         go "start"
  15.       end if
  16.     end if
  17.   else
  18.     openCDDoor()
  19.     go "insertWin"
  20.   end if
  21. end