home *** CD-ROM | disk | FTP | other *** search
/ PC Direkt 1998 #11 / PCDIREKT_1198.bin / SHOWDATA / STARTNEU.DXR / 00001.ls next >
Encoding:
Text File  |  1998-03-18  |  3.5 KB  |  109 lines

  1. global myversion, Xtrapath, dirpath, AOLpath, partyPath, sharedPath, Debugpath, ISDNpath, oldcolordepth, oldsoundlevel, OnlineConfigured, gQTVRok, QTPath, starterpath, myplatform
  2.  
  3. on startMovie
  4.   global ms4path, external, NoEscape, NachISDN
  5.   if the machineType <> 256 then
  6.     if the shiftDown then
  7.       set oldcolordepth to the colorDepth
  8.       set the colorDepth to 8
  9.     else
  10.       set oldcolordepth to the colorDepth
  11.       set the colorDepth to 16
  12.     end if
  13.   end if
  14.   if the machineType <> 256 then
  15.     set the itemDelimiter to ":"
  16.   else
  17.     set the itemDelimiter to "\"
  18.   end if
  19.   set mroot to item 1 to the number of items in the pathName - 2 of the pathName & the itemDelimiter
  20.   set the itemDelimiter to ","
  21.   if the platform contains "Macintosh" then
  22.     set AOLpath to mroot & "AOL 3.0i installieren"
  23.     set partyPath to mroot & "3rdparty:"
  24.     set sharedPath to the pathName & "shared:"
  25.     if the colorDepth >= 16 then
  26.       set libpath to the pathName & "showdatx:lib16:"
  27.     end if
  28.     if the colorDepth <= 8 then
  29.       set libpath to the pathName & "showdatx:lib8:"
  30.     end if
  31.     set dirpath to the pathName
  32.     set QTPath to mroot & "Apple QuickTime:QuickTimeΓäó Install Disk 1:Installer"
  33.     if voidp(external) then
  34.       set Xtrapath to the pathName & "xtras:"
  35.       set myplatform to "Mac"
  36.     else
  37.       set myplatform to "Mac"
  38.     end if
  39.   else
  40.     set Xtrapath to the pathName & "xtras\"
  41.     if (myplatform = "31") or (myplatform = "NT") then
  42.       set AOLpath to mroot & "AOL\win31\setup.exe"
  43.     else
  44.       set AOLpath to mroot & "AOL\win95\setup.exe"
  45.     end if
  46.     set ISDNpath to mroot & "aolshow.exe showdata\qisdn2.ini"
  47.     set partyPath to mroot & "3rdparty\"
  48.     set sharedPath to the pathName & "shared\"
  49.     set QTPath to the pathName & "Xtras\"
  50.     set starterpath to mroot & "aolshow.exe"
  51.     set dirpath to the pathName
  52.     if the colorDepth >= 16 then
  53.       set libpath to the pathName & "showdatx\lib16\"
  54.     end if
  55.     if (the colorDepth <= 8) or (the platform contains "16") then
  56.       set libpath to the pathName & "showdatx\lib8\"
  57.     end if
  58.     set ms4path to mroot & "IE4\IE4SETUP.EXE"
  59.     if voidp(external) then
  60.       set Xtrapath to the pathName & "xtras\"
  61.       set QTPath to the pathName & "Xtras\"
  62.     else
  63.       if the platform contains "32" then
  64.         set myplatform to "95"
  65.       else
  66.         set myplatform to "31"
  67.       end if
  68.     end if
  69.   end if
  70.   set the searchPath to [libpath, Xtrapath, dirpath, partyPath, sharedPath]
  71.   if (the colorDepth <= 8) or (the platform contains "16") then
  72.     set the visible of sprite 4 to 0
  73.   end if
  74.   set oldsoundlevel to the soundLevel
  75.   if the soundLevel < 4 then
  76.     set the soundLevel to 4
  77.   end if
  78.   set OnlineConfigured to 0
  79.   set the exitLock to 1
  80.   set NoEscape to "if the keycode = 53 or the keycode = 19 or the keycode = 71 then dontpassevent" & RETURN & "else pass"
  81.   set the keyDownScript to NoEscape
  82.   if the platform contains "Win" then
  83.     if not voidp(NachISDN) then
  84.       go(1, "Install")
  85.     end if
  86.     exit
  87.   end if
  88.   if (the platform contains "Macintosh") and not (the quickTimePresent) then
  89.     go(1, dirpath & "showeinf")
  90.   else
  91.     if external and (the platform contains "Mac") then
  92.       go(1, dirpath & "showeinf")
  93.     else
  94.       if the platform contains "16" then
  95.         go(1, dirpath & "showeinf")
  96.       else
  97.         if external and (the platform contains "32") then
  98.           go(1, dirpath & "showeinf")
  99.         end if
  100.       end if
  101.     end if
  102.   end if
  103.   cursor(4)
  104.   if the optionDown then
  105.     go(1, "main")
  106.     beep()
  107.   end if
  108. end
  109.