home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / cutv20.zip / cutit.hlp (.txt) < prev    next >
OS/2 Help File  |  1994-07-03  |  20KB  |  524 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.                                 CutIt Version 2.0
  5.                       (C) Copyright Andre Nancoz 1993, 1994
  6.  
  7. The CutIt application will append the contents of the clipboard into one of a 
  8. list of categories. It is a handy way to save notes from other applications, 
  9. e-mail, etc. into files of your choice or output the clipboard to the printer. 
  10.  
  11. The main window is a categories list which can be adjusted to use a minimum 
  12. amount of screen real estate.  This window also contains a menu bar, paste 
  13. button, view button and status line. 
  14.  
  15. A window for category maintenance and an options notebook can be opened when 
  16. needed from the main window menu bar. The application is exited via the close 
  17. option on the system menu or double clicking on the system menu. If the 
  18. category maintenance or options notebook are opened they will also be closed 
  19. when the main window is closed. 
  20.  
  21. Windows (double click for more information). 
  22.  
  23.     Main Window 
  24.     Category Update Window 
  25.     Option Notebook 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 2. Command line parameter ΓòÉΓòÉΓòÉ
  29.  
  30. The only valid parameter is a profile file name.  If no parameter is specified 
  31. the default is CutIt.ini in the working directory. If the .ini file does not 
  32. exist or is not valid for the current version of CutIt a message box will pop 
  33. up.  See switch .ini file for more information. 
  34.  
  35. The file specified may contain a path specification, if so the directory 
  36. specified will be switched to. 
  37.  
  38.  
  39. ΓòÉΓòÉΓòÉ 3. Main window ΓòÉΓòÉΓòÉ
  40.  
  41. When the size is changed the list box size is also changed. Double click on the 
  42. highlighted items in the list below or set the focus on a control in the window 
  43. and press F1 for help on each control. 
  44.  
  45. The position and size of this window is saved when the application is closed. 
  46. When this window is closed the maintenance and options windows will also be 
  47. closed if they are open. 
  48.  
  49. Menu Bar. 
  50.  
  51.     File          Switch .ini file 
  52.     Update        Category or option maintenance 
  53.     Help          Contents, index, product info, etc 
  54.  
  55. Controls. 
  56.  
  57.     Paste         Paste from clipboard to category 
  58.     View          View or edit category 
  59.     Categories    List of categories 
  60.     Status        Messages (optional) 
  61.  
  62.  
  63. ΓòÉΓòÉΓòÉ 3.1. File Menu ΓòÉΓòÉΓòÉ
  64.  
  65. At present the only option on this menu is switch .ini. This allows the use of 
  66. multiple category lists. 
  67.  
  68.  
  69. ΓòÉΓòÉΓòÉ 3.1.1. Switch Ini File ΓòÉΓòÉΓòÉ
  70.  
  71. The default profile file is CutIt.ini which is maintained in the start up 
  72. directory of the application.  You can change the start up default by a command 
  73. line parameter or change to another profile after start up with this menu 
  74. option. 
  75.  
  76. Selecting the "Switch ini" option displays a standard file dialog with which to 
  77. pick an .ini file or enter the name of new .ini file.  When a selection is made 
  78. the application will switch to the directory containing the .ini and attempt to 
  79. read it.  If the file does not exist or is not a valid CutIt profile file a 
  80. message box will be displayed. You will be given the options of "Yes", "No", or 
  81. "Cancel". 
  82.  
  83. Yes       Use the specified file.  If it doesn't exist it will be created. If 
  84.           the file exists all current contents will be deleted. 
  85. No        The file dialog window will be displayed again allowing you to choose 
  86.           another file. 
  87. Cancel    This will cancel the "Switch ini" request and restore the previous 
  88.           profile file as the current one. 
  89.  
  90. After selecting a new profile, if their are no categories defined the category 
  91. maintenance window will be opened or activated. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 3.2. Update Menu ΓòÉΓòÉΓòÉ
  95.  
  96. Selecting the main window menu bar/update item displays the following items. 
  97.  
  98. Update Menu 
  99.  
  100.     Categories    Add, change, or delete categories and their files. 
  101.     Options       Change options notebook. 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 3.2.1. Category Update ΓòÉΓòÉΓòÉ
  105.  
  106. Selecting this item from the main window Update menu will open the category 
  107. update window or activate the window if it has already been opened. 
  108.  
  109.  
  110. ΓòÉΓòÉΓòÉ 3.2.2. Option Update ΓòÉΓòÉΓòÉ
  111.  
  112. Selecting this item from the main window Update menu will open the options 
  113. notebook  or activate the notebook if it has already been opened. 
  114.  
  115.  
  116. ΓòÉΓòÉΓòÉ 3.3. Help Menu ΓòÉΓòÉΓòÉ
  117.  
  118. Besides accessing help table of contents, index and the introduction (general 
  119. help) you can also set the focus on a control and press F1. 
  120.  
  121. Product information and registration is also available through this menu. 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 3.3.1. Product Information ΓòÉΓòÉΓòÉ
  125.  
  126.                                 CutIt Version 2.0
  127.                       (C) Copyright Andre Nancoz 1993, 1994
  128.  
  129.                         If you have registered, THANK YOU
  130.  
  131.                    Shareware registration fee $10.00 US funds.
  132.                   Send checks, suggestions and bug reports to:
  133.  
  134.                                 Mr. Andre Nancoz
  135.                                  349 Quincy Ave.
  136.                               Bronx, NY 10465-3011
  137.  
  138.                          Suggestions and bug reports to:
  139.                              Compuserve ID: 73777,13
  140.  
  141.  
  142. ΓòÉΓòÉΓòÉ 3.4. Paste Button ΓòÉΓòÉΓòÉ
  143.  
  144. Appends the contents of clipboard into the selected categories file.  If the 
  145. erase clipboard option is on, the clipboard will be cleared.  If no errors are 
  146. encountered the button will briefly turn green.  If the status bar is active 
  147. and the "display paste" option is on, the beginning of the pasted text will be 
  148. displayed.  The appended text may be preceded by a separator line which can 
  149. contain several pieces of information; date, time and/or category name. 
  150.  
  151. If the clipboard is empty the separator will still be appended unless the "no 
  152. paste" option is active.  If "no paste" is selected then an empty clipboard is 
  153. treated as an error. 
  154.  
  155. If the paste fails the button will flash red and a brief beep will sound.  If 
  156. the status bar is active a message will be displayed 
  157.  
  158. After the paste operation is completed the focus may be automatically returned 
  159. to the window which was active prior to the paste.  This is controlled by the 
  160. "show previous window" option. 
  161.  
  162. Note:  See paste options for more information. 
  163.  
  164. Errors: 
  165.  
  166.     No category selected 
  167.     File I/O error 
  168.     Clipboard empty (optional) 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 3.5. View Button ΓòÉΓòÉΓòÉ
  172.  
  173. Clicking on this button will execute a command chosen by the user via the 
  174. options notebook.  As delivered this is set to e.exe with the currently 
  175. selected category's file name as a parameter. 
  176.  
  177. Note:  See View Option for more information. 
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 3.6. List Box ΓòÉΓòÉΓòÉ
  181.  
  182. This box contains the list of categories which have been defined.  The box size 
  183. will be automatically adjusted whenever the main window size is changed.  The 
  184. contents of the box can be scrolled horizontally and vertically. 
  185.  
  186. The currently selected category is the focus of all paste, view and update 
  187. operations.  Double clicking on a category is the same as clicking on the paste 
  188. button. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 3.7. Status Bar ΓòÉΓòÉΓòÉ
  192.  
  193. The status bar displays informational and error messages . If the "display 
  194. paste option" is set the beginning of the paste text will be displayed here. If 
  195. the paste fails the message will give the reason for the error. 
  196.  
  197. The status bar can be turned off, in which case the list box will automatically 
  198. increase in size.  If an error occurs and you wish to view the message you can 
  199. go to the options notebook and turn the status bar back on and the last message 
  200. will be shown. 
  201.  
  202. Note:  See remove status bar for more information. 
  203.  
  204.  
  205. ΓòÉΓòÉΓòÉ 4. Category Update ΓòÉΓòÉΓòÉ
  206.  
  207. This window is used to add, update, or delete categories. It is opened by 
  208. selecting update/categories from the main window menu bar, or automatically 
  209. when there are no categories defined. If this window is already open, clicking 
  210. on update/categories will bring it to the top and make it the active window. 
  211.  
  212. The information displayed in this window always tracks the currently selected 
  213. category in the main window. 
  214.  
  215. The window is closed via the system menu or when the application is closed. Its 
  216. placement on the screen is saved at shutdown. 
  217.  
  218. Controls. 
  219.  
  220.     Category      Name of category 
  221.     File          File name to store the category in and file dialog button 
  222.     Add           Add category push button 
  223.     Update        Update selected category 
  224.     Delete        Delete the selected category 
  225.  
  226.  
  227. ΓòÉΓòÉΓòÉ 4.1. Category Name ΓòÉΓòÉΓòÉ
  228.  
  229. This entry field will be initialized with the currently selected category in 
  230. the main window.  You can click on delete to remove the category from the list, 
  231. modify the the name and and click on the update button to change the current 
  232. item,  or type in a new name and click on add to create a new category. 
  233.  
  234. If you select another category from the main window list box before doing an 
  235. add, update or delete this entry field will change to reflect the new selection 
  236. and the previous contents of this entry field will be ignored. 
  237.  
  238.  
  239. ΓòÉΓòÉΓòÉ 4.2. Category File ΓòÉΓòÉΓòÉ
  240.  
  241. This entry field initially contains the file name associated with the currently 
  242. selected category in the main window list.  You can change the file name by 
  243. typing over it or by clicking on the "list" pushbutton which will bring up a 
  244. standard file dialog.  You can assign a unique file to each category or have 
  245. several categories use the same file. Also see Printing the clipboard. 
  246.  
  247. When you click on the add or update pushbutton, if the file name field is blank 
  248. a file name will be generated based on the category name.  The generated name 
  249. will be in the current directory with the first 8 alpha-numeric characters of 
  250. the category name and a extension of .cat.  If the generated name already 
  251. exists a 3 digit number will replace the last 3 character of the name.  The 
  252. number starts at 001 and increments until a file name that doesn't exist is 
  253. found. For example a category name of "Bob's messages" will first generate the 
  254. file name bobsmess.cat, if this file already exists then the name will be 
  255. changed to bobsm001.cat. 
  256.  
  257. If you supply a name then it will be accepted whether or not it exists.  It 
  258. must be a valid file name in an existing and accessible directory. 
  259.  
  260. Whether the file name is supplied by you or generated by the program, if the 
  261. file does not exist it will not be created until such time as the first paste 
  262. operation is done to it. 
  263.  
  264. If you select another category from the main window list box before doing an 
  265. add, update or delete this entry field will change to reflect the new 
  266. selection's file and the previous contents of this entry field will be ignored. 
  267.  
  268.  
  269. ΓòÉΓòÉΓòÉ 4.3. Add Category ΓòÉΓòÉΓòÉ
  270.  
  271. This pushbutton is used to add new categories to the main window list box. 
  272. Enter a new name in the category entry field and enter a file name in the file 
  273. field or select a file by clicking on the "list" pushbutton.  If you wish the 
  274. program can select a file name for you.  In order to do this, delete all data 
  275. in the file entry field, (see file entry field). 
  276.  
  277. The category cannot already exist, a message box will inform you if it is a 
  278. duplicate.  The name is case sensitive, therefore "bob's messages" and "Bob's 
  279. messages" will be considered different categories and both can be added. 
  280.  
  281. The new category will be placed in the list box in alphabetical sequence.  The 
  282. new entry will be selected and the list will be scrolled to make the new entry 
  283. visible. 
  284.  
  285.  
  286. ΓòÉΓòÉΓòÉ 4.4. Update Category ΓòÉΓòÉΓòÉ
  287.  
  288. This button will change the currently selected category in the main window to 
  289. the values that are in the category and file fields of this window.  You may 
  290. change either one or both at the same time.  If you are changing the category 
  291. the new name cannot already exist in the list. 
  292.  
  293. When a category name is changed it will be placed in alphabetical order in the 
  294. list, selected, and the list box will scroll to the entry.  If the file name is 
  295. changed the old file will still exist on disk with its contents unchanged. 
  296.  
  297.  
  298. ΓòÉΓòÉΓòÉ 4.5. Delete Category ΓòÉΓòÉΓòÉ
  299.  
  300. Clicking this button will delete the currently selected category in the main 
  301. window.  The name in the category entry field on this window is ignored.  If no 
  302. item is selected a message box will be displayed.  The category and file name 
  303. fields will always be updated to reflect the item that was deleted.  If the 
  304. delete button is clicked by mistake, clicking on the add will restore the 
  305. category and file.  IF the file deletion option is on though the contents of 
  306. the file will have been lost. 
  307.  
  308. Whether or not the corresponding file is deleted is governed by the delete page 
  309. of the options notebook.  If the delete file and the confirm file delete are 
  310. both on then a message box will request that the file deletion be confirmed 
  311. before it is deleted.  If the confirm file delete is not on, the file will be 
  312. deleted without notification.  As delivered the file deletion option is OFF so 
  313. that the category files will not be deleted. 
  314.  
  315. After the deletion there will be no item selected in the main window list box. 
  316. This is so that an inadvertent double click on the delete button will not cause 
  317. an unwanted deletion. Before another operation (update, paste, view, etc.) can 
  318. be done, a category selection will have to be made. 
  319.  
  320.  
  321. ΓòÉΓòÉΓòÉ 5. Option Notebook ΓòÉΓòÉΓòÉ
  322.  
  323. This notebook is used to update various program options. It is opened by 
  324. selecting update/options from the main window menu bar. If the notebook is 
  325. already open, clicking on update/options will bring it to the top and make it 
  326. active. 
  327.  
  328. All options take effect immediately, you do not have to close the notebook. 
  329. Each page has a reset button. This will restore any changed options on that 
  330. page to those which were in effect when the notebook was opened. 
  331.  
  332. The notebook is closed via the system menu. Its placement on the screen is 
  333. saved at shutdown.  It will also be closed when the application is closed. 
  334. Once the notebook is close the options become permanent and the previous values 
  335. cannot be recovered. 
  336.  
  337. Notebook Pages. 
  338.  
  339.     Paste              Paste separator, show, erase clipboard, previous window 
  340.     Delete             Delete file with category and confirm. 
  341.     Miscellaneous      Title, view/edit program and show status bar. 
  342.  
  343.  
  344. ΓòÉΓòÉΓòÉ 5.1. Paste Options ΓòÉΓòÉΓòÉ
  345.  
  346. The options on this notebook page control the operation of the paste button. 
  347.  
  348. Paste Option Controls. 
  349.  
  350.     Separator          Paste separator line specifications. 
  351.     Show               Display beginning of paste in status bar. 
  352.     Erase              Erase clipboard after paste. 
  353.     Empty Paste        Paste separator if clipboard empty. 
  354.     Switch Window      Switch back to previous window after paste. 
  355.  
  356.  
  357. ΓòÉΓòÉΓòÉ 5.1.1. Paste Separator ΓòÉΓòÉΓòÉ
  358.  
  359. This is a group of three controls which define a heading that is pasted in 
  360. front of the clipboard data to act as a separator.  If the two check boxes are 
  361. not checked and the separator line has no data then nothing is placed if front 
  362. of the clipboard data. 
  363.  
  364. The first control is a check box which when on specifies that a blank line is 
  365. to be output to the file before the separator line.  The third control when on 
  366. outputs a blank line after the separator.  If the two controls are on and the 
  367. separator contains no data then 2 blank lines will separate each paste 
  368. operation. 
  369.  
  370. The second control is an entry field which specifies data that is to be output 
  371. before the clipboard text.  This line can contain any characters you wish plus 
  372. a character which signals that special data is to be used at this point.  The 
  373. special character is a % sign.  A % character followed by a number and 
  374. character, the letters d, t, n, c, D, T, N, C or another % have a  special 
  375. meaning as indicated in the following list: 
  376.  
  377. %%    outputs a single % sign. 
  378. %d    outputs todays date. 
  379. %t    outputs the time of the paste operation. 
  380. %n    outputs an additional blank line. 
  381. %#?   the # represents a number and the ? represents any character.  The 
  382.       character will be output # times.  (i.e. %20- will output 20 dashes, %10 
  383.       followed by a space will output 10 spaces, etc.). 
  384.  
  385. The characters d, t, n, c following a % can be in upper or lower case.  If a % 
  386. is followed by a character not in the list then they are output unchanged. 
  387. (i.e. %x outputs to the separator as %x). 
  388.  
  389. Example: %10- %c %d %t %10-
  390. ----------- Bob's Messages 6/14/94 13:26:10 -----------
  391.  
  392.  
  393. ΓòÉΓòÉΓòÉ 5.1.2. Show Paste ΓòÉΓòÉΓòÉ
  394.  
  395. If this check box is on, the beginning of the pasted text will be displayed on 
  396. the status bar preceeded by OK:. If the check box is off, any previous message 
  397. on the status bar will be erased.  In order to see the text the status bar 
  398. must, of course, be displayed. 
  399.  
  400. Also see  remove status bar 
  401.  
  402.  
  403. ΓòÉΓòÉΓòÉ 5.1.3. Erase Clipboard ΓòÉΓòÉΓòÉ
  404.  
  405. If this option is on, the clipboard will be erased after the paste operation is 
  406. successfully completed.  The data will remain in the clipboard if this option 
  407. is not checked or if any error occurs. 
  408.  
  409.  
  410. ΓòÉΓòÉΓòÉ 5.1.4. No Separator ΓòÉΓòÉΓòÉ
  411.  
  412. If this box is checked the separator will not be output if the clipboard is 
  413. empty.  This will also cause the paste request to generate an error message on 
  414. the status line and the paste button to flash red. 
  415.  
  416. If this box is not checked the separator and/or the blank lines above and/or 
  417. below it will always be output.  Nothing will be output if all the separator 
  418. options are off.  In either case the paste operation will display OK: on the 
  419. status line, (if the show paste and display status bar options are on), and the 
  420. paste push button will flash green. 
  421.  
  422.  
  423. ΓòÉΓòÉΓòÉ 5.1.5. Previous Window ΓòÉΓòÉΓòÉ
  424.  
  425. if this box is checked, after the paste operation completes the window which 
  426. was active prior to the paste operation will become the active window.  Note 
  427. that if the CutIt main window was active when the paste is performed a switch 
  428. will still occur to a previously active window. 
  429.  
  430. If this box is not checked the focus will remain in the CutIt main window after 
  431. a paste operation. 
  432.  
  433.  
  434. ΓòÉΓòÉΓòÉ 5.2. Delete Options ΓòÉΓòÉΓòÉ
  435.  
  436. The options on this notebook page control the operation of category deletions. 
  437.  
  438. Delete Option Controls. 
  439.  
  440.     Delete File             Delete file  when category deleted. 
  441.     Confirm File Delete     Request confirmation when deleting file. 
  442.  
  443.  
  444. ΓòÉΓòÉΓòÉ 5.2.1. Delete File ΓòÉΓòÉΓòÉ
  445.  
  446. If this box is checked, when a category is deleted the corresponding file will 
  447. be deleted also.  The confirm file deletion check box will be enabled when the 
  448. delete box is checked and the confirm option will be turned on. 
  449.  
  450. If this box is off, the file for the category being deleted will not be deleted 
  451. and the confirm check box will be disabled. 
  452.  
  453.  
  454. ΓòÉΓòÉΓòÉ 5.2.2. Delete File Confirmation ΓòÉΓòÉΓòÉ
  455.  
  456. This control is active only when the delete file with category has been 
  457. checked.  Whenever the delete file option is turned on this option is also 
  458. turned on.  If you want to skip the confirmation box you must turn the delete 
  459. file option on and then turn this option off. 
  460.  
  461.  
  462. ΓòÉΓòÉΓòÉ 5.3. Miscellaneous Options ΓòÉΓòÉΓòÉ
  463.  
  464. The options on this notebook page control several miscellaneous options. 
  465.  
  466. Miscellaneous Option Controls. 
  467.  
  468.     Title         Main window title bar text. 
  469.     View          Program to start with View push button. 
  470.     Status Bar    Show or remove main window status bar. 
  471.  
  472.  
  473. ΓòÉΓòÉΓòÉ 5.3.1. Title ΓòÉΓòÉΓòÉ
  474.  
  475. The title entry field is used to change the main window title.  Whatever is 
  476. entered in this field is placed on the title line preceeded by "CutIt - ". 
  477.  
  478.  
  479. ΓòÉΓòÉΓòÉ 5.3.2. View/Edit Program ΓòÉΓòÉΓòÉ
  480.  
  481. The contents of this entry field is executed when the view pushbutton is 
  482. clicked.  To include the category's file name as a parameter on the line use a 
  483. %f. 
  484.  
  485. As delivered this field contains: 
  486.  
  487. e.exe %f
  488.  
  489. This will execute the e editor with the currently selected category's file name 
  490. as a parameter. 
  491.  
  492.  
  493. ΓòÉΓòÉΓòÉ 5.3.3. Remove Status Line ΓòÉΓòÉΓòÉ
  494.  
  495. If this line is checked the status line in the main window will be eliminated 
  496. and the list box will expand to the bottom of the window.  The paste button 
  497. will still flash green or red to indicate success or failure of the paste and 
  498. if it failed the beep will still occur. 
  499.  
  500. If you turn this check box off the status bar will re-appear with the last 
  501. message displayed. 
  502.  
  503.  
  504. ΓòÉΓòÉΓòÉ 5.4. Reset Options ΓòÉΓòÉΓòÉ
  505.  
  506. Each page of the options notebook contains a reset button. When the notebook is 
  507. opened the current values of all the pages are saved.  If you want to revert to 
  508. the saved values for a particular page click on the reset button for that page. 
  509.  
  510. Once the notebook is closed the previous values are lost. 
  511.  
  512.  
  513. ΓòÉΓòÉΓòÉ 6. Printing the clipboard ΓòÉΓòÉΓòÉ
  514.  
  515. In the main window select update/categories from the menu bar. In the update 
  516. category window enter a unique category name such as Print ( any name will do 
  517. ).  Enter in the file name field Prn or Lptx where x is the printer number. 
  518.  
  519. When you want to print the contents of the clipboard just double click on the 
  520. Print category. 
  521.  
  522. Also see:   category update 
  523.  
  524.