home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / twcp132.zip / read.me next >
Text File  |  1994-03-27  |  9KB  |  240 lines

  1. *****************************************************************************
  2.  
  3.  TWCP  V 1.32 - Text Window Cut and Paste
  4.  
  5.  Copyright 1994 by Masar Software Ltd.
  6.  All rights reserved.
  7.  
  8. *****************************************************************************
  9.  
  10.  This is free software.
  11.  
  12.  If you find this program useful, let me know,
  13.  SEND A POSTCARD WITH A PHOTO OF YOUR CITY to:
  14.  
  15.       Maurizio Sartori Masar
  16.       Via MonteGrappa  7
  17.       20044 Bernareggio
  18.             (Milano)  ITALY
  19.  
  20. *****************************************************************************
  21.  
  22.  Commercial distribution and/or use is prohibited without written consent by
  23.  the author.
  24.  
  25.  Because the program is licensed free of charge, there is no warranty for the
  26.  program, to the extent permitted by applicable law.  Except when otherwise
  27.  stated in writing the copyright holders and/or other parties provide the
  28.  program "as is" without warranty of any kind, either expressed or implied,
  29.  including, but not limited to, the implied warranties of merchantability and
  30.  fitness for a particular purpose.  The entire risk as to the quality and
  31.  performance of the program is with you.  Should the program prove defective,
  32.  you assume the cost of all necessary servicing, repair or correction.
  33.  
  34.  In no event unless required by applicable law or agreed to in writing will
  35.  any copyright holder, or any other party who may modify and/or redistribute
  36.  the program as permitted above, be liable to you for damages, including any
  37.  general, special, incidental or consequential damages arising out of the use
  38.  or inability to use the program (including but not limited to loss of data or
  39.  data being rendered inaccurate or losses sustained by you or third parties or
  40.  a failure of the program to operate with any other programs), even if such
  41.  holder or other party has been advised of the possibility of such damages.
  42.  
  43. *****************************************************************************
  44.  
  45.  TWCP  V 1.32 - Text Window Cut and Paste
  46.  
  47.  The TWCP application is a simple Presentation Manager application which let
  48.  you Mark, Copy and Paste text and graphics from a DOS or OS/2 Window using
  49.  the mouse, like in X Windows, without passing through the system menu.
  50.  
  51.  
  52.  Version 1.00
  53.       o Initial release.
  54.  
  55.  Version 1.10
  56.       o Added option to eliminate last Carriage Return.
  57.  
  58.  
  59.  Version 1.20
  60.       o Rewritten Hook procedure.
  61.       o Corrected problem with buttons 2 and 3 in mark operations.
  62.       o Corrected problem with Disable button.
  63.       o Corrected minor bugs.
  64.       o Minor changes to documentation (added notes and warning).
  65.       o Forced use of control key(s) if Button 1 is used for mark.
  66.  
  67.  Version 1.30
  68.       o Added option to copy and paste in entry fields.
  69.       o Added option "/L" to lower a window z-order clicking on its title.
  70.       o Minor esthetical changes
  71.  
  72.  Version 1.31
  73.       o Corrected problem with minimized icon drawing.
  74.       o Corrected problem with errors in command line parameters.
  75.  
  76.   Version 1.32
  77.       o Corrected problem with "/L" option
  78.       o Enhanced "/L" option to allow use of any combination of mouse
  79.         button and Shift, Alt and Ctrl keys.
  80.  
  81. *****************************************************************************
  82.  
  83.  Known Bugs
  84.  
  85.  With OS/2 V 2.11 the TWCP can only be Minimized to Viewer, this is a
  86.  problem of the Service Pack :-(, with other versions of OS/2 you can
  87.  Hide, Minimize to Viewer or to Desktop as usual.
  88.  
  89. *****************************************************************************
  90.  
  91.  In this package, you should receive these files:
  92.  
  93.  ■ TWCP.EXE      -  Program file
  94.  ■ TWCPHOOK.DLL  -  Program hook library
  95.  ■ TWCP.HLP      -  Program help file
  96.  ■ READ.ME       -  Program description in ASCII format.
  97.  
  98. *****************************************************************************
  99.  
  100.  To install TWCP copy TWCP.EXE in a directory in your PATH,
  101.  TWCPHOOK.DLL in a directory in your LIBPATH and TWCP.HLP in a
  102.  directory in your HELP path.
  103.  
  104.  That is all, now you can use TWCP.
  105.  
  106. *****************************************************************************
  107.  
  108.  TWCP has the following syntax:
  109.  
  110.       TWCP [/? | /H] [/L[1,2,3,A,S,C]]
  111.  
  112.  Where
  113.  
  114.   /? /H     Print this help.
  115.   /L        Enable Low It option
  116.  
  117. *****************************************************************************
  118.  
  119.  Low It option
  120.  
  121.  This option is enabled with the /L[opt] switch in the command line.
  122.  
  123.  When this option is enabled you can low a window, putting it below all
  124.  windows, clicking with Button 2 on its Title Bar.
  125.  
  126.  You can use the following modifiers to the option:
  127.  
  128.   1         Use mouse button 1.
  129.   2         Use mouse button 2 (default).
  130.   3         Use mouse button 3.
  131.   C         Use CTRL key with mouse.
  132.   A         Use ALT key with mouse.
  133.   S         Use SHIFT key with mouse.
  134.  
  135.  Note:  /L1 isn't a valid option!
  136.  
  137.  Sample:  TWCP /L3AC will enable the option using button 3 with ALT
  138.           and CTRL keys.
  139.  
  140.  Warning: When this option is enabled, applications' title bar will not see
  141.           the button click: if a pop up menu is associated with a click of
  142.           the button on the title bar, it will never be activated.
  143.  
  144.  Note: This option is not saved with the program profile, it must be
  145.        specified every time TWCP is executed to have effect.
  146.  
  147. *****************************************************************************
  148.  
  149.  This section explain how to use TWCP.
  150.  
  151.  To enable TWCP you should:
  152.  
  153.    1. Select the mouse button with which you want to Mark and Copy,
  154.       checking the corresponding radio button.
  155.    2. Chose which control key(s) (Shift, Alt, Ctrl) you would like to use
  156.       together with the mouse to Mark and Copy, checking the
  157.       corresponding check button.
  158.    3. Select the mouse button with which you want to Paste checking
  159.       the corresponding radio button.
  160.    4. Chose which control key(s) (Shift, Alt, Ctrl) you would like to use
  161.       together with the mouse to Paste, checking the corresponding check
  162.       button.
  163.    5. Enable TWCP clicking on the ENABLE button.
  164.  
  165.  Now you can start to use TWCP.
  166.  
  167.  
  168.  To Disable TWCP you should click on the DISABLE button.
  169.  
  170.  
  171.  To Mark and Copy a portion of text in a DOS or OS/2 Text window you
  172.  should do the following:
  173.  
  174.    1. Press the Mark and Copy control key(s).
  175.    2. Click the Mark and Copy mouse button where you want to start
  176.       marking.
  177.    3. Drag the mouse, holding down button and key, till the end of the
  178.       portion of text you want to mark. Now the zone should be
  179.       highlighted.
  180.    4. Release the Mark and Copy mouse button.
  181.    5. Release the Mark and Copy key.
  182.  
  183.  The text or graphics you marked is automatically copied to the Clipboard.
  184.  
  185.  Note:  If you release the control key(s) before releasing the mouse
  186.         button, you remain in mark mode. To complete the operation, restart
  187.         from point 1.
  188.  
  189.  
  190.  To Paste from the Clipboard you should do the following:
  191.  
  192.    1. Press the Paste control key(s).
  193.    2. Click the Paste mouse button in the window in which you want to
  194.       paste.
  195.    3. Release the Paste mouse button.
  196.    4. Release the Paste key.
  197.  
  198.  The text or graphics is automatically pasted to the window.
  199.  
  200.  Warning: You should hold down the control key(s) till the paste
  201.           operation is completed, otherwise the text program could loose
  202.           the release of the control key(s).
  203.  
  204. *****************************************************************************
  205.  
  206.  TWCP works installing a system hook that intercepts every mouse message
  207.  posted.  If the message is directed to a DOS or OS/2 Text Window, that has a
  208.  window class of type Shield, or to a Entry Field, #6 and #10 classes, and it
  209.  is a Mark, Copy or Paste key combination, the messages for Mark, Copy or
  210.  Paste are send to the window.
  211.  
  212.  Warning: Because the program relies on the class name, and there can
  213.           be other windows with class name Shield that aren't DOS or OS/2
  214.           Text Windows, the program can fail with those windows.
  215.           The fields Class and Parent show the class name of every window in
  216.           which the mouse is clicked.
  217.           If you find a program that makes fail TWCP please let me know.
  218.  
  219. *****************************************************************************
  220.  
  221.  Masar Software Ltd.
  222.  
  223.  For bugs or suggestions, please write to:
  224.  
  225.       Maurizio Sartori Masar
  226.       Via MonteGrappa  7
  227.       20044 Bernareggio
  228.             (Milano)  ITALY
  229.  
  230.  or email to the INTERNET address:
  231.  
  232.       masar@cdc8g5.cdc.polimi.it
  233.       masar@131.175.6.1
  234.  
  235.  
  236.  Acknowledgments
  237.  
  238.  Thanks to Simona who helped me in writing the documentation.
  239.  
  240.