home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Animation & Sound / SOS-ANIM_SOUND.ISO / best_50 / shez99.zip / SAMPLE.INI < prev    next >
INI File  |  1994-04-20  |  11KB  |  191 lines

  1. ;********************************************************************
  2. ;            SHEZ User Initialization file                          *
  3. ;                 (SAMPLE FILE ONLY!!!!!)                           *
  4. ;                                                                   *
  5. ;            AFTER MODIFYING THIS FILE IT MUST                      *
  6. ;                    BE RENAME TO:                                  *
  7. ;                      SHEZ.INI                                     *
  8. ;            AND THEN COPIED TO A DIRECTORY THAT IS                 *
  9. ;                IN YOUR PATH STATEMENT.                            *
  10. ;                                                                   *
  11. ;                                                                   *
  12. ;FORMAT OF FILE:                                                    *
  13. ;  Each line must end with a Carriage return, Line feed.            *
  14. ;  Everything to the right of a semicolon treated as comments.      *
  15. ;                                                                   *
  16. ;  External viewer programs are specified as follows:               *
  17. ;     EXT = PROGRAM                                                 *
  18. ;  WHERE ext      is the file extension (DO NOT ENTER THE PERIOD!)  *
  19. ;        program  is the program to execute based on the selected   *
  20. ;                 file extension.                                   *
  21. ;                 $f indicates to SHEZ where to place the filename  *
  22. ;                    when executing the program.                    *
  23. ;EXAMPLE:                                                           *
  24. ; C=E:\UTY\QEDIT.EXE $F                                             *
  25. ;                                                                   *
  26. ; If the highlighted file in SHEZ is HELP.C then SHEZ will          *
  27. ; attempt to execute E:\UTY\QEDIT.EXE HELP.C                        *
  28. ;                                                                   *
  29. ;********************************************************************
  30. ;                     ADVANCED FEATURES                             *
  31. ;                                                                   *
  32. ;SPECIFYING A STARTUP DIRECTORY:                                    *
  33. ;  To tell SHEZ to change to a specific directory before running    *
  34. ;  the specified external file viewer use the vertical bar          *
  35. ;  character to separate the startup directory name from the        *
  36. ;  viewer command as shown below:                                   *
  37. ;                                                                   *
  38. ;GIF=E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                 *
  39. ;                                                                   *
  40. ;                                                                   *
  41. ;TELLING SHEZ TO PAUSE AFTER RUNNING THE VIEWER:                    *
  42. ;  SHEZ can pause before returning to itself allowing you to        *
  43. ;  view the contents of the screen after the external viewer        *
  44. ;  has been executed. This is accomplished by placing the ~         *
  45. ;  character immediately after the equal sign.                      *
  46. ;                                                                   *
  47. ;GIF=~E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                *
  48. ;                                                                   *
  49. ;                                                                   *
  50. ;********************************************************************
  51.  
  52.  
  53.  
  54.  
  55. [External Viewers]     ;THIS IS A REQUIRED ENTRY, TELLS SHEZ WHERE
  56.                        ;THE EXTERNAL VIEWER DATA BEGINS
  57.  
  58. generic=list.com $f    ;This is a generic viewer it will be executed if
  59.                        ;the highlighted file's extension is not specified,
  60.                        ;or there is no file extension.
  61.  
  62. H  =Q.EXE $f           ;Run q.exe for file with .h  extension
  63.  
  64. DOC=E.EXE $f           ;Run e.exe for file with .doc extension
  65.  
  66. WP =WPVIEW.EXE $F      ;Run wpview.exe for file with .wp extension
  67.  
  68. C=E.EXE $F             ;Run e.exe for file with .c extension
  69.  
  70.  
  71.  
  72. ;********************************************************************
  73. ;                  SETTING UP PRINTERS                              *
  74. ;                                                                   *
  75. ;Up to three user defined printers can be defined.  Each printer    *
  76. ;definition requires it's own section name.  The section name       *
  77. ;is: [PRINTERx]  where x is 1,2, or 3.                              *
  78. ;Each printer section must have the following keyword defined:      *
  79. ;                                                                   *
  80. ;NAME                                                               *
  81. ;   user defined name of printer (25 characters or less)            *
  82. ;SETUP                                                              *
  83. ;   printer setup string                                            *
  84. ;CHARS-PER-LINE                                                     *
  85. ;   maximum number of characters per line                           *
  86. ;LINE-PER-PAGE                                                      *
  87. ;   maximum number of lines per page                                *
  88. ;ENDUP                                                              *
  89. ;   printer endup string (THIS IS OPTIONAL)                         *
  90. ;                                                                   *
  91. ;The printer SETUP and ENDUP strings can be up to 100 characters in *
  92. ;length.  The strings CAN NOT contain carriage return or line feed  *
  93. ;characters.  If these must be included in the string use the $     *
  94. ;character to enter their HEX equivalent.  I.E. a carriage return   *
  95. ;would be entered as $0d. The $ character indicates to SHEZ that the*
  96. ;next two characters are to be interpreted as HEX.  For example to  *
  97. ;enter the ASCII ESC character into the setup string use the        *
  98. ;following in your string: $1b.                                     *
  99. ;                                                                   *
  100. ;********************************************************************
  101.  
  102.  
  103. [Printer1]             ;HPLASER II-IV portrait compressed
  104. name=HP-port-compress
  105. setup=$1bE$1b(10U$1b(s16.6H$1b&l8D
  106. endup=$1bE
  107. chars-per-line=132
  108. lines-per-page=80
  109.  
  110. [Printer2]             ;HPLASER II-IV landscape compressed
  111. name=HP-land-compress
  112. setup=$1bE$1b&l1O$1b(10U$1b(s16.6H$1b&l8D
  113. endup=$1bE
  114. chars-per-line=174
  115. lines-per-page=64
  116.  
  117.  
  118. ;******************************************************************
  119. ;                         SETTING UP USER MENUS                   *
  120. ;                                                                 *
  121. ;Up to 20 user defined menu items may be defined in this section. *
  122. ;Each menu item MUST have a NAME parameter and a PROGRAM parameter*
  123. ;defined. The NAME parameter is the text that will appear drop    *
  124. ;down menu when the uSer menu option is selected.  The PROGRAM    *
  125. ;parameter defines what program or batch file will be executed    *
  126. ;when the item is selected. The rules for defining these two      *
  127. ;keyword parameters are as follows:                               *
  128. ;                                                                 *
  129. ;NAME                                                             *
  130. ;  User defined text of 25 characters or less. This text will     *
  131. ;  appear on the drop down menu.                                  *
  132. ;                                                                 *
  133. ;PROGRAM                                                          *
  134. ;  The program or batch file to execute when the selection is     *
  135. ;  chosen.                                                        *
  136. ;                                                                 *
  137. ;                                                                 *
  138. ;SPECIFYING A STARTUP DIRECTORY:                                  *
  139. ;   To tell SHEZ to change to a specific directory before running *
  140. ;   the specified user program use the vertical bar character to  *
  141. ;   separate the startup directory name from the program/batch    *
  142. ;   file to execute as shown below:                               *
  143. ;                                                                 *
  144. ;   PROGRAM=E:\GIF\VPIC.EXE|G:\GIF\VPIC                           *
  145. ;                                                                 *
  146. ;                                                                 *
  147. ;TELLING SHEZ TO PAUSE AFTER RUNNING A PROGRAM                    *
  148. ;   SHEZ can pause before returning to itself allowing you to view*
  149. ;   the contents of the screen after the program has been         *
  150. ;   executed. This is accomplished by placing the ~ character     *
  151. ;   immediately after the equal sign.                             *
  152. ;                                                                 *
  153. ;   PROGRAM=~E:\GIF\VPIC.EXE|G:\GIF\VPIC                          *
  154. ;                                                                 *
  155. ;PASSING A FILE TO A USER DEFINED PROGRAM                         *
  156. ;   By using the $f variable when defining the PROGRAM to execute *
  157. ;   you can pass the currently highlighted filename to an external*
  158. ;   program.  The $f tell SHEZ where to place the filename when   *
  159. ;   launching a user specified program.                           *
  160. ;                                                                 *
  161. ;   Two other variables can also be used, the $a and $m variable. *
  162. ;   These variables only have meaning if you launched a user menu *
  163. ;   item when selecting a member of a compressed file. The $a     *
  164. ;   variable will be replaced with the full compressed filename,  *
  165. ;   and the $m variable will be replaced with the name of the     *
  166. ;   selected member within the compressed file. For example: If   *
  167. ;   you are looking the contents of compressed file               *
  168. ;   D:\DOWN\SHEZXX.ZIP the highlighted item is SHEZ.EXE then the  *
  169. ;   $a variable will be replaced with D:\DOWN\SHEZXX.ZIP and the  *
  170. ;   $m variable will be replaced with SHEZ.EXE.                   *
  171. ;                                                                 *
  172. ;   The $f will also work when viewing the contents of a          *
  173. ;   compressed file. When viewing the contents of a compressed    *
  174. ;   file, if the $f characters are defined in the PROGRAM         *
  175. ;   specification, the highlighted file is extracted to a work    *
  176. ;   directory and the user program is launched. When the user     *
  177. ;   program is exited, SHEZ will then check the extracted works   *
  178. ;   file's time and date stamp.  If the work file was updated SHEZ*
  179. ;   will REFRESH the copy of the file in the compressed file.     *
  180. ;                                                                 *
  181. ;******************************************************************
  182.  
  183. [User-menu]
  184. Name=WordPerfect 5.1
  185. Program=E:\APPS\WP51\WP.EXE /nk|E:\APPS\WP51
  186.  
  187. Name=WordPerfect 5.1 (pass file)
  188. Program=E:\APPS\WP51\WP.EXE $f /nk|E:\APPS\WP51
  189.  
  190. Name=WordPerfect 6.0
  191. Program=U:\WP60\WP.EXE /nk|U:\WP60