home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ppwi2284.zip / os2setup.db < prev    next >
Text File  |  2002-04-19  |  7KB  |  154 lines

  1. ;----------------------------------------------------------------------------
  2. ;
  3. ;    MODULE NAME:   OS2SETUP.DB
  4. ;
  5. ;        $Author:   USER "Dennis"  $
  6. ;      $Revision:   1.1  $
  7. ;          $Date:   19 Apr 2002 17:21:30  $
  8. ;       $Logfile:   C:/DBAREIS/Projects.PVCS/MultiOs/PPWIZARD/os2setup.db.pvcs  $
  9. ;
  10. ;    DESCRIPTION:   Defines icons created by OS/2 setup of PPWIZARD.
  11. ;----------------------------------------------------------------------------
  12.  
  13. ;----------------------------------------------------------------------------
  14. ;--- Environmental Definitions ----------------------------------------------
  15. ;----------------------------------------------------------------------------
  16. #DefineRexx ''
  17.        PpwHome = _filespec('L', '<?PpwizardPgm>');
  18.        PpwDoco = PpwHome || 'ppw_doco\ppwizard.htm';
  19.        PpwDoco = ReplaceString(PpwDoco, ':', '|');
  20.        PpwDoco = ReplaceString(PpwDoco, '\', '/');
  21.        PpwDoco = 'file:///' || PpwDoco;
  22. #DefineRexx
  23. define {PpwDoco}               <??PpwDoco>
  24. define {PpwizardDir}           <??PpwHome>
  25. define {PpwizardPgm}           <?PpwizardPgm>
  26. define {Comspec}               <?=GetEnv("COMSPEC")>
  27.  
  28.  
  29. ;----------------------------------------------------------------------------
  30. ;--- Common definitions -----------------------------------------------------
  31. ;----------------------------------------------------------------------------
  32. define {TextEditor}            E.EXE "%**F"
  33. define {SetPath}               %**D & cd "%**P" &
  34. define {TextEditorAssSrc}      *.it,*.ih,*.x,*.xh,*.ppw
  35. define {TextEditorAssOut}      *.err,*.con
  36. define {RemoveDebugOutput}     >nul 2>&1
  37.  
  38. ;----------------------------------------------------------------------------
  39. ;--- Command Lines used -----------------------------------------------------
  40. ;----------------------------------------------------------------------------
  41. define {ClIT}         /c {SetPath} {PpwizardPgm} @_HTMNOR.PPW "%**F"
  42. define {ClIT-DEBUG}   /c {SetPath} {PpwizardPgm} @_HTMDBG.PPW "%**F" {RemoveDebugOutput}
  43. define {ClX}          /c {SetPath} {PpwizardPgm} @_REXNOR.PPW "%**F"
  44. define {ClX-DEBUG}    /c {SetPath} {PpwizardPgm} @_REXDBG.PPW "%**F" {RemoveDebugOutput}
  45. define {ClPPW}        /c {SetPath} {PpwizardPgm} @_ALLNOR.PPW "@%**F"
  46. define {ClPPW-DEBUG}  /c {SetPath} {PpwizardPgm} @_ALLNOR.PPW @_ALLDBG.PPW "@%**F" {RemoveDebugOutput}
  47.  
  48.  
  49. ;----------------------------------------------------------------------------
  50. ;--- All PPWIZARD ITEMS IN ONE FOLDER ---------------------------------------
  51. ;----------------------------------------------------------------------------
  52. Folder     "PpwFolder"
  53.            Title       "PPWIZARD"
  54.            LOCATION    "<WP_DESKTOP>"
  55. FolderEnd
  56.  
  57.  
  58.  
  59.  
  60. ;----------------------------------------------------------------------------
  61. ;--- Put all file associations into one folder left visible to allow --------
  62. ;--- user to modify                                                  --------
  63. ;----------------------------------------------------------------------------
  64. Folder     "PpwAssocFolder"
  65.            Title       "FILE ASSOCIATIONS"
  66.            SETUP       "DEFAULTVIEW=DETAILS;"
  67.            LOCATION    "<PpwFolder>"
  68. FolderEnd
  69.  
  70.  
  71. ;----------------------------------------------------------------------------
  72. ;--- Set up EDITOR for KNOWN EXTENSIONS -------------------------------------
  73. ;----------------------------------------------------------------------------
  74. Program    "PpwEditor"
  75.            TITLE  "Edit File (text editor)"
  76.            SETUP  "ASSOCFILTER={TextEditorAssSrc},{TextEditorAssOut};"
  77.            SETUP  "EXENAME={Comspec};"
  78.            SETUP  'PARAMETERS=/c {SetPath} {TextEditor}'
  79. ProgramEnd
  80.  
  81.  
  82. ;----------------------------------------------------------------------------
  83. ;--- Set up HTML extensions -------------------------------------------------
  84. ;----------------------------------------------------------------------------
  85. Program    "PpwExtnIT"
  86.            TITLE  "Build HTML using PPWIZARD"
  87.            SETUP  'ICONFILE={PpwizardDir}ppw_it.ico;'
  88.            SETUP  "ASSOCFILTER=*.it;"
  89.            SETUP  "EXENAME={Comspec};"
  90.            SETUP  'PARAMETERS={ClIT}'
  91. ProgramEnd
  92. Program    "PpwExtnIT_DEBUG"
  93.            TITLE  "Build HTML using PPWIZARD - DEBUG"
  94.            SETUP  'ICONFILE={PpwizardDir}ppw_it.ico;'
  95.            SETUP  "ASSOCFILTER=*.it;"
  96.            SETUP  "EXENAME={Comspec};"
  97.            SETUP  'PARAMETERS={ClIT-DEBUG}'
  98. ProgramEnd
  99.  
  100. ;----------------------------------------------------------------------------
  101. ;--- Set up REXX extensions -------------------------------------------------
  102. ;----------------------------------------------------------------------------
  103. Program    "PpwExtnX"
  104.            TITLE  "Build REXX using PPWIZARD"
  105.            SETUP  'ICONFILE={PpwizardDir}ppw_x.ico;'
  106.            SETUP  "ASSOCFILTER=*.x;"
  107.            SETUP  "EXENAME={Comspec};"
  108.            SETUP  'PARAMETERS={ClX}'
  109. ProgramEnd
  110. Program    "PpwExtnXH_DEBUG"
  111.            TITLE  "Build REXX using PPWIZARD - DEBUG"
  112.            SETUP  'ICONFILE={PpwizardDir}ppw_x.ico;'
  113.            SETUP  "ASSOCFILTER=*.x;"
  114.            SETUP  "EXENAME={Comspec};"
  115.            SETUP  'PARAMETERS={ClX-DEBUG}'
  116. ProgramEnd
  117.  
  118.  
  119. ;----------------------------------------------------------------------------
  120. ;--- Set up PROJ extensions -------------------------------------------------
  121. ;----------------------------------------------------------------------------
  122. Program    "PpwExtnPPW"
  123.            TITLE  "Build PROJECT using PPWIZARD"
  124.            SETUP  'ICONFILE={PpwizardDir}ppw_prj.ico;'
  125.            SETUP  "ASSOCFILTER=*.ppw;"
  126.            SETUP  "EXENAME={Comspec};"
  127.            SETUP  'PARAMETERS={ClPPW}'
  128. ProgramEnd
  129. Program    "PpwExtnPPWH_DEBUG"
  130.            TITLE  "Build PROJECT using PPWIZARD - DEBUG"
  131.            SETUP  'ICONFILE={PpwizardDir}ppw_prj.ico;'
  132.            SETUP  "ASSOCFILTER=*.ppw;"
  133.            SETUP  "EXENAME={Comspec};"
  134.            SETUP  'PARAMETERS={ClPPW-DEBUG}'
  135. ProgramEnd
  136.  
  137.  
  138. ;----------------------------------------------------------------------------
  139. ;--- URL OBJECTS (not available in Warp 3) ----------------------------------
  140. ;----------------------------------------------------------------------------
  141. Other     "PpwUrlHome"
  142.            Title    "PPWIZARD on the WEB"
  143.            CLASS    "WPUrl"
  144.            SETUP    "URL=<?PpwizardHomePage>;"
  145.            LOCATION "<PpwFolder>"
  146. OtherEnd
  147.  
  148. Other     "PpwUrlDoco"
  149.            Title    "PPWIZARD DOCO"
  150.            CLASS    "WPUrl"
  151.            SETUP    "URL={PpwDoco};"
  152.            LOCATION "<PpwFolder>"
  153. OtherEnd
  154.