home *** CD-ROM | disk | FTP | other *** search
/ Reader's Digest - How to… Anything With a Computer / Readers_Digest_How_to_Do_Just_About_Anything_With_a_Computer_Sierra_On-Line_1999.iso / STARTUP / AUTORUN.SPT < prev    next >
Text File  |  1999-11-12  |  3KB  |  77 lines

  1. topic 
  2.     name "Autorun"                                                // This will appear in the caption for all screens in this topic
  3. path "resource\screens\"                                                        // This path is relative to the executable you can change the path at any time
  4.     screen 
  5.         name "Background"                                                        // This is what will apper in the caption in brackets
  6.         file "bkgrnd.bmp"
  7.         OnDialogeAct
  8.         begin
  9.             if install1 then 
  10.                 begin
  11.                     show target "run1"
  12.                     show target "uninst1"
  13.                     // hide target "prev1"
  14.                     hide target "install1"
  15.                 end
  16.             else
  17.                 begin 
  18.                     // show target "prev1"
  19.                     show target "install1"
  20.                     hide target "run1"
  21.                     hide target "uninst1"
  22.                 end
  23.         end                            
  24.         OnLoad
  25.         begin
  26.             if install1 then 
  27.                 begin
  28.                     show target "run1"
  29.                     show target "uninst1"
  30.                     // hide target "prev1"
  31.                     hide target "install1"
  32.                 end
  33.             else
  34.                 begin 
  35.                     // show target "prev1"
  36.                     show target "install1"
  37.                     hide target "run1"
  38.                     hide target "uninst1"
  39.                 end
  40.         end                                                        // This is the background image for the screen the window is automatically sized to this bitmaps size
  41. path "resource\buttons\"                                                         // This path is relative to the executable you can change the path at any time
  42.         // hotspot name "prev1" x 490 y 211 out "preview_up.bmp" over "preview_over.bmp" down "preview_down.bmp"
  43.         //    visible false            
  44.         //    OnMouseClick extern runDemo1
  45.         hotspot name "run1" x 490 y 211 out "run_up.bmp" over "run_over.bmp" down "run_down.bmp"
  46.             visible false            
  47.             OnMouseClick extern runProduct1
  48.         hotspot name "install1" x 390 y 211 out "install_up.bmp" over "install_over.bmp" down "install_down.bmp"    
  49.             visible false
  50.             OnMouseClick
  51.             begin
  52.                 extern runSetup1
  53.             end
  54.  
  55.         hotspot name "uninst1" x 390 y 211 out "uninstall_up.bmp" over "uninstall_over.bmp" down "uninstall_down.bmp"
  56.             visible false            
  57.             OnMouseClick
  58.             begin
  59.                 extern runUninstall1
  60.             end
  61.  
  62.         //hotspot name "install2" x 390 y 265 out "install_up.bmp" over "install_over.bmp" down "install_down.bmp" // Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  63.             // visible false            
  64.         //    OnMouseClick
  65.         //    begin
  66.         //        extern runSetup2
  67.         //    end
  68.  
  69.         // hotspot name "moredemo" x 90 y 459 out "demos_up.bmp" over "demos_over.bmp" down "demos_down.bmp"// Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  70.         //    OnMouseClick
  71.         //    begin
  72.         //        extern runOtherDemos
  73.         //    end
  74.  
  75.         hotspot name "quit" x 556 y 459 out "quit_up.bmp" over "quit_over.bmp" down "quit_down.bmp"// Specifies a hotspot at 10, 10 in the MiniPlayer's client window with the size of the first bitmap, "out1.bmp"
  76.             OnMouseClick exit
  77.