home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / clip2.zip / CLIP.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-07-13  |  15KB  |  367 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. About CLIP ΓòÉΓòÉΓòÉ
  3.  
  4.  CLIP is a Command Line Interface Program that will organize your command line 
  5. programs. It allows you to create a 'library' of entries which list the command 
  6. line program, arguments for that program, and any required switches that are 
  7. needed. It also allows you to create entries for normal programs. You may then 
  8. select an entry and run it with the touch of a button. 
  9.  
  10.  
  11. ΓòÉΓòÉΓòÉ 2. Menu ΓòÉΓòÉΓòÉ
  12.  
  13. Use the choices on the Menu to: 
  14.  
  15. Help Index 
  16.      Display the Help Index. 
  17.  
  18. General Help 
  19.      Display the 'About' help panel. 
  20.  
  21. Options 
  22.      Display the Options dialog box. 
  23.  
  24. Product Info 
  25.      Display the Product Information dialog box. 
  26.  
  27. Shareware Info 
  28.      Display the Shareware Information dialog box. 
  29.  
  30. Quit 
  31.      Exits the program. 
  32.  
  33.  
  34. ΓòÉΓòÉΓòÉ 3. Options ΓòÉΓòÉΓòÉ
  35.  
  36.  The options available in clip are explained below. 
  37.  
  38. Start Minimized 
  39.  
  40.      This option causes CLIP to minimize itself when first run. This is handy 
  41.      if you wish to place CLIP in your 'Startup' folder when you use the 
  42.      'Auto-Entries' option. 
  43.  
  44. Error Checking 
  45.  
  46.      This option causes CLIP to wait for the selected entry to complete before 
  47.      you may select another entry to run. If the entry generates an error, CLIP 
  48.      will notify you of the error with this option enabled. You should turn 
  49.      this off to run normal programs (i.e. wordprocessor, etc.) and leave it on 
  50.      for command line programs which run and then quit when they are finished. 
  51.  
  52. Save Position 
  53.  
  54.      This option causes CLIP to save the screen position it is at when you tell 
  55.      it to quit. When you run CLIP again, it will open in the position that was 
  56.      saved. 
  57.  
  58. Auto-Entries 
  59.  
  60.      This option causes CLIP to automatically run all entries in the data file 
  61.      with the 'Auto' checkmark when CLIP is started. This would be used if you 
  62.      wished to run certain entries (i.e. backup, screen saver, etc.) if CLIP is 
  63.      added to your startup folder. 
  64.  
  65.      Note:  Error checking is turned off for all auto entries. 
  66.  
  67. SAVE 
  68.  
  69.      Push this button to close the dialog box and save the selected options. 
  70.  
  71. CANCEL 
  72.  
  73.      Push this button to close the dialog box without saving the selected 
  74.      options. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 4. Shareware Information ΓòÉΓòÉΓòÉ
  78.  
  79.  CLIP was started in June of 95' and took around a month to write in my spare 
  80. time. It was created to streamline the use of frequently run command line 
  81. programs and normal programs without creating templates or extra *.cmd files. 
  82.  
  83.  This is a fully operational version of CLIP and is not 'disabled' while I wait 
  84. on your check. I always found that annoying in the shareware that I was 
  85. currently trying. The shareware concept is pretty easy to understand. If you 
  86. like the program, contribute to the author. If you don't like it, don't use it. 
  87. This way you get the satisfaction of knowing what a program is going to do 
  88. without hearing 'you opened the box, you can't return it even if it doesn't do 
  89. what it advertised'. 
  90.  
  91.  Anyway, I hope that you find this program as useful as I do and if you have 
  92. any questions, comments, or contributions, feel free to contact me through the 
  93. information in the shareware dialog box. 
  94.  
  95.  
  96. ΓòÉΓòÉΓòÉ 5. Product Information ΓòÉΓòÉΓòÉ
  97.  
  98.  This is version 1.0 of CLIP. If you would like to contribute to future 
  99. releases, feel free to contact me through the information in the shareware 
  100. dialog box. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ 6. Requirements and Limitations ΓòÉΓòÉΓòÉ
  104.  
  105.  Before you run this application, you should read the following notes 
  106. concerning the execution of CLIP. 
  107.  
  108. Files 
  109.  
  110.      The following files comprise the entire CLIP application and should be 
  111.      installed into their own folder. 
  112.  
  113.    CLIP.EXE (Main program) 
  114.  
  115.    CLIP.INI (INI file for options. Created by CLIP) 
  116.  
  117.    CLIP.HLP (Help file) 
  118.  
  119.    CLIP.ICO (Icon file) 
  120.  
  121.    CLIP.DAT (Data file for entries. Created by CLIP) 
  122.  
  123. Limits on Data Field Size 
  124.  
  125.      The maximum COMBINED length of the file, argument, and switch fields is 
  126.      1024 characters. 
  127.  
  128. Program Types 
  129.  
  130.      CLIP only supports OS/2 command line programs and OS/2 presentation 
  131.      manager programs. 
  132.  
  133.  
  134. ΓòÉΓòÉΓòÉ 7. Definitions ΓòÉΓòÉΓòÉ
  135.  
  136. This is an alphabetical list of all the unique definitions and terms used in 
  137. this application. 
  138.  
  139. Arguments (Arg) 
  140.  
  141.      This is normally a file which is passed to the program you wish to run. 
  142.      This field is optional for each entry. 
  143.  
  144. Auto Entry 
  145.  
  146.      This is an entry which will be automatically run when CLIP is started if 
  147.      the 'Run Auto-Entries' option is selected. 
  148.  
  149. File 
  150.  
  151.      This is the file that you wish to run. This will normally be a *.exe, 
  152.      *.cmd, or any type of executable file. This field is mandatory for each 
  153.      entry. 
  154.  
  155. Name 
  156.  
  157.      This is a unique description which you assign to an entry. This field is 
  158.      mandatory for each entry. 
  159.  
  160. Switches (Sw) 
  161.  
  162.      These are specific commands that are passed to the executable program to 
  163.      tell it to perform a certain action. This field is optional for each 
  164.      entry. 
  165.  
  166.  
  167. ΓòÉΓòÉΓòÉ 8. Author's Comments ΓòÉΓòÉΓòÉ
  168.  
  169.  CLIP is a basic program which I put together to make my computing life easier. 
  170. It combines the raw power of simple command line programs with the convenience 
  171. of point and click. It allows you to store the hard to remember formatting 
  172. parameters for your CLPs and just browse through a list of names when you wish 
  173. to perform an operation. 
  174.  
  175.  CLIP also enables you to run your normal programs such as a wordprocessor or 
  176. spreadsheet with the required data file passed as an argument. This part of 
  177. CLIP is essentially the same as creating a 'template' for the program but does 
  178. not clutter up a folder or your desktop. 
  179.  
  180.  Thank you for trying CLIP and if you have any questions, comments, or 
  181. contributions, please feel free to contact me through the information in the 
  182. shareware dialog box. 
  183.  
  184. Note:  Be sure to check out my Free Advertising help panel. 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 9. Free Advertising ΓòÉΓòÉΓòÉ
  188.  
  189. Here is a list of all the shareware programs that I have written as of when 
  190. this program was released. 
  191.  
  192.  IMP is a Install Management Program that will create a list of the files that 
  193. were installed on your system by an application. This gives you the ability to 
  194. know exactly what files the application installed and where they are. IMP will 
  195. also delete these files from your system if you wish to remove the application. 
  196.  
  197.  Available as imp.zip 
  198.  
  199.  STRIP is a command line program that will remove the formatting codes from 
  200. various types of ASCII data files such as *.ipf for help files and *.html for 
  201. World Wide Web home pages. This enables you to read the text without trying to 
  202. decipher the formatting codes and also enables you to use your wordprocessor to 
  203. spell check the file. 
  204.  
  205.  Available as strip.zip 
  206.  
  207.  
  208. ΓòÉΓòÉΓòÉ 10. Buttons ΓòÉΓòÉΓòÉ
  209.  
  210. Use the buttons in the main window to: 
  211.  
  212. Edit 
  213.      Display the Edit CLIP Entries dialog box. 
  214.  
  215. Run 
  216.      Run the currently selected entry. 
  217.  
  218.  
  219. ΓòÉΓòÉΓòÉ 11. Edit Button ΓòÉΓòÉΓòÉ
  220.  
  221.  This help panel describes how to add a new entry, select an entry, and how to 
  222. remove an entry from the CLIP data file. 
  223.  
  224. Add a New Entry 
  225.  
  226. See the Examples section for some tips on how to format your entries. 
  227.  
  228.  1. Run CLIP 
  229.  
  230.  2. Push the Edit... button. The 'Edit CLIP Entries' dialog box will open. 
  231.  
  232.     Note:  All further steps are referenced to the 'Add Entry' group box. 
  233.  
  234.     Note:  The format which CLIP uses in building the command line is shown 
  235.     below: 
  236.  
  237.        [file] [arg] [sw] 
  238.  
  239.  3. Push the File... button. You will be presented with a file dialog box with 
  240.     which to select the command line program or other executable file. You may 
  241.     also type in the complete path and filename in the edit field. 
  242.  
  243.  4. Push the Arg... button. You will be presented with a file dialog box with 
  244.     which to select a file to be passed to the executable file. You may also 
  245.     type in any required arguments in the edit field if a file name is not 
  246.     required. 
  247.  
  248.     Note:  If the command line program does not require an argument then place 
  249.     the switches in the [arg] field and leave the [sw] field blank. 
  250.  
  251.  5. Push the Sw... button. You will be presented with a file dialog box with 
  252.     which to select a file to be passed to the executable file. You may also 
  253.     type in any required switches in the edit field if a file name is not 
  254.     required. 
  255.  
  256.     Note:  If the command line program does not require any switches then leave 
  257.     the [sw] field blank. 
  258.  
  259.  6. Type a unique description into the 'Name' edit field. 
  260.  
  261.     Note:  If you use the same name as a previous entry that entry will be 
  262.     overwritten with the new information. 
  263.  
  264.  7. Push the Auto-Entry checkmark button to make the entry an auto entry. 
  265.  
  266.  8. Push the ADD button to create the entry. After the entry is added the edit 
  267.     fields will be cleared for another entry. 
  268.  
  269.     Note:  The combined length of file, arg, and sw fields may not exceed 1024 
  270.     characters. 
  271.  
  272. Select an Entry 
  273.  
  274.  1. Run CLIP 
  275.  
  276.  2. Push the Edit... button. The 'Edit CLIP Entries' dialog box will open. 
  277.  
  278.     Note:  All further steps are referenced to the 'Select/Remove Entry' group 
  279.     box. 
  280.  
  281.  3. Use the 'Name' drop down list box to review your entries. When you have 
  282.     selected an entry in the 'Name' drop down list box the 'File', 'Arg', and 
  283.     'Sw' fields will be filled in with the stored parameters for that entry. 
  284.  
  285.  4. Push the SELECT button to select the currently shown entry. The dialog box 
  286.     will close and the CLIP title bar will show the name of your selection. 
  287.  
  288. Remove an Entry 
  289.  
  290.  1. Run CLIP 
  291.  
  292.  2. Push the Edit... button. The 'Edit CLIP Entries' dialog box will open. 
  293.  
  294.     Note:  All further steps are referenced to the 'Select/Remove Entry' group 
  295.     box. 
  296.  
  297.  3. Use the 'Name' drop down list box to review your entries. When you have 
  298.     selected an entry in the 'Name' drop down list box the 'File', 'Arg', and 
  299.     'Sw' fields will be filled in with the stored parameters for that entry. 
  300.  
  301.  4. Push the REMOVE button to remove the entry in the 'Name' drop down list 
  302.     box. You will be presented with an 'Are you Sure?' message box. Select 
  303.     'Yes' or 'No'. 
  304.  
  305.  
  306. ΓòÉΓòÉΓòÉ 12. Run Button ΓòÉΓòÉΓòÉ
  307.  
  308.  This help panel describes how to run your selected entry. 
  309.  
  310.  1. Run CLIP 
  311.  
  312.  2. You must select an entry from the Edit CLIP Entries dialog box before you 
  313.     may proceed. 
  314.  
  315.  3. Push the Run button to run your selection. The 'Run' button will be 
  316.     disabled while the selected entry is run. 
  317.  
  318.     Note:  If the 'Error Checking' option is enabled CLIP will beep if the 
  319.     entry executes without an error and will display an error message if the 
  320.     entry returns an error. You should disable the error checking option to run 
  321.     normal programs since CLIP will wait for the return code from the program. 
  322.     This will prevent you from running other entries until you quit the current 
  323.     entry.  It is a good idea to 'pre-test' your entry from the command line to 
  324.     ensure that your arguments and switches are all valid. 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ 13. Examples ΓòÉΓòÉΓòÉ
  328.  
  329.  This help panel contains a few sample entries which show the format required 
  330. by CLIP for some of the command line and presentation manager programs included 
  331. with OS/2. The paths assume that your OS/2 directory is on drive C. 
  332.  
  333. This entry will set the read only and archive attributes of all files on drive 
  334. C. 
  335.  
  336.  [file] C:\OS2\ATTRIB.EXE 
  337.  [arg] +r +a 
  338.  [sw] C:\*.* 
  339.  [Name] Protect 
  340.  
  341. This entry will run the OS/2 editor and automatically load your config.sys 
  342. file. 
  343.  
  344.  [file] C:\OS2\E.EXE 
  345.  [arg] C:\CONFIG.SYS 
  346.  [sw] 
  347.  [Name] Edit Config.Sys 
  348.  
  349. This entry copies all files and folders in a folder to a backup directory and 
  350. verifies the copy. 
  351.  
  352.  [file] C:\OS2\XCOPY.EXE 
  353.  [arg] C:\FOLDER\*.* C:\BACKUP\*.* 
  354.  [sw] /V /S 
  355.  [Name] Backup 
  356.  
  357. This entry uses my own command line program to remove the formatting code from 
  358. the 'ipf' file which was used to create this help file. 
  359.  
  360.  [file] F:\STRIP\STRIP.EXE 
  361.  [arg] F:\CLIP\CLIP.ipf F:\CLIP\CLIP_IPF.txt 
  362.  [sw] : . 
  363.  [Name] CLIP ipf->txt 
  364.  
  365. Notice that it is possible to specify multiple arguments and switches. This is 
  366. handy when creating archives of files or performing the same action on numerous 
  367. files.