home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD2.iso / PHOTO / GRABBER / DOCFILES.SFX / GRTXT.DOC < prev    next >
Encoding:
Text File  |  1995-08-01  |  32.2 KB  |  689 lines

  1.  
  2.  
  3.                                    GRABBER/TXT(tm)
  4.                             Version 2.10  Shareware Issue
  5.  
  6.                            The Text Screen Capture Program
  7.                           for MS-DOS and IBM-PC Compatibles
  8.  
  9.                                 ----------------------
  10.  
  11.                           DOCUMENTATION AND TECHNICAL NOTES
  12.                                     August 1, 1995
  13.  
  14.                                 Copyright 1987-1995 by
  15.                                    Gerald A. Monroe
  16.                                  All rights reserved.
  17.  
  18.                  +-------------------------------------------------+
  19.                  |  Although they are shareware,  GRTXT  and this  |
  20.                  |  documentation file are copyrighted.  They are  |
  21.                  |  not in the  public  domain  and they are  not  |
  22.                  |  "freeware."   Please  consult  page 6  of the  |
  23.                  |  REGISTER.DOC  file  for  important  copyright  |
  24.                  |  information and license provisions.  All use,  |
  25.                  |  copying or distribution of  GRTXT.EXE or this  |
  26.                  |  document is  governed by the terms and condi-  |
  27.                  |  tions of  the Shareware License  contained in  |
  28.                  |  the REGISTER.DOC file.                         |
  29.                  +-------------------------------------------------+
  30.  
  31.              Thank you for your interest  in the GRABBER(tm) screen cap-
  32.              ture system!
  33.  
  34.              The GRABBER  package is being marketed in this special form
  35.              as shareware.  This  means you have the opportunity  to use
  36.              and  evaluate it for 30  days before you  decide whether to
  37.              buy.  If you continue to  use GRTXT.EXE or any of the other
  38.              programs in the GRABBER package beyond such 30-day  period,
  39.              then  you are required to send your registration fee to the
  40.              publisher according to the instructions in the REGISTER.DOC
  41.              file.   When you register, you  will receive a  copy of the
  42.              latest release  of the registered GRABBER  package that you
  43.              order.   You may  not continue  using  GRABBER beyond  such
  44.              30-day period without  registering.   For registration  in-
  45.              structions and a complete statement of  your license to use
  46.              this software, please consult the REGISTER.DOC file.
  47.  
  48.  
  49.           (IBM  and PC  are trademarks  of International  Business Machines
  50.           Corporation.   MS-DOS and  Windows  are trademarks  of  Microsoft
  51.           Corporation.  Other trademarks referenced herein are the  proper-
  52.           ties of their respective owners.)
  53.  
  54.  
  55.                                   Table of Contents
  56.  
  57.           Overview of GRTXT.EXE . . . . . . . . . . . . . . . . . . . .   3
  58.  
  59.           About This Documentation  . . . . . . . . . . . . . . . . . .   3
  60.  
  61.           System Requirements for GRTXT.EXE . . . . . . . . . . . . . .   3
  62.  
  63.           Types of Screens that GRTXT.EXE Can Capture . . . . . . . . .   3
  64.  
  65.           GRTXT.EXE Can Capture Text Screens, Not Graphics Screens  . .   4
  66.  
  67.           How to Install GRTXT.EXE in Memory  . . . . . . . . . . . . .   4
  68.  
  69.           How to Capture the Screen . . . . . . . . . . . . . . . . . .   4
  70.  
  71.           Ascending Two-Tone Chirp Indicates a Successful Capture . . .   5
  72.  
  73.           Three Low-Pitched Beeps Indicate a File System Error  . . . .   5
  74.  
  75.           One Low-Pitched Beep Indicates a Graphical Mode . . . . . . .   6
  76.  
  77.           Changing the Destination Drive or Directory . . . . . . . . .   6
  78.  
  79.           Configuration Options for GRTXT.EXE . . . . . . . . . . . . .   6
  80.  
  81.              Options Also Supported by GRABBER.EXE (See GRABBER.DOC for
  82.                more information):
  83.                -  INT=nn
  84.                -  INT=OFF
  85.                -  PROMPT and NOPROMPT
  86.                -  MOUSE and NOMOUSE
  87.                -  SOUND and NOSOUND
  88.                -  BATCHCAPTURE[:]
  89.                -  NOSWAP
  90.                -  NOEMS
  91.                -  NOUMB
  92.                -  UNLOAD  . . . . . . . . . . . . . . . . . . . . . . .   6
  93.  
  94.              CROP and NOCROP  . . . . . . . . . . . . . . . . . . . . .   7
  95.              1FORM, 2FORM, 3FORM, 4FORM, 5FORM, or NOFORM . . . . . . .   7
  96.              PERMANENT=filename . . . . . . . . . . . . . . . . . . . .   8
  97.              NOPERMANENT  . . . . . . . . . . . . . . . . . . . . . . .   8
  98.              APPEND and NOAPPEND  . . . . . . . . . . . . . . . . . . .   9
  99.  
  100.           How GRTXT.EXE Names Offspring Files . . . . . . . . . . . . .   9
  101.           More Explanation of GRTXT.EXE's Filename Prompts  . . . . .    10
  102.           How to Control GRTXT.EXE's Crop Box . . . . . . . . . . . . .  11
  103.           Changing GRTXT.EXE's Hotkey Combination . . . . . . . . . . .  12
  104.           Calling GRTXT.EXE From Your Own Software  . . . . . . . . . .  13
  105.           How to Contact the Publisher  . . . . . . . . . . . . . . . .  14
  106.  
  107.  
  108.           GRTXT.EXE       Documentation and Technical Notes    Page 3 of 14
  109.  
  110.  
  111.  
  112.           1.   Overview of GRTXT.EXE
  113.  
  114.              GRABBER/TXT, or "GRTXT.EXE," is an alternative version of  the
  115.           GRABBER.EXE screen  capture program.    It is  a  memory-resident
  116.           screen   capture  program  designed   exclusively  for  capturing
  117.           character-based text images  directly to plain  ASCII text  files
  118.           from programs  running under  the MS-DOS  operating system.   The
  119.           text  files which  GRTXT.EXE creates  are referred  to throughout
  120.           this documentation as "offspring" files.  Because they consist of
  121.           plain  ASCII  text characters,  GRTXT.EXE's  offspring  files can
  122.           easily  be imported  into most  word processing,  spreadsheet and
  123.           other programs that accept external files.
  124.  
  125.              GRTXT.EXE  does not capture  graphics images, and  it does not
  126.           capture screens from Microsoft Windows or Windows applications.
  127.  
  128.  
  129.           2.   About This Documentation
  130.  
  131.  
  132.              This document must  be read in  conjunction with  GRABBER.DOC,
  133.           which is the documentation file for GRABBER.EXE.  This is because
  134.           GRTXT.EXE is installed  in memory and operated in  almost exactly
  135.           the same  way as the GRABBER.EXE program.  This document does not
  136.           explain  in detail  how  to install  and  operate GRTXT.EXE,  but
  137.           instead   explains  the   few  operational   differences  between
  138.           GRTXT.EXE and GRABBER.EXE.
  139.  
  140.  
  141.           3.   System Requirements for GRTXT.EXE
  142.  
  143.  
  144.              To use GRTXT.EXE, you will need the following:
  145.  
  146.                -  An  IBM-PC, PC-XT, PC-AT,  PS/1, PS/2,  or 100% compatible
  147.                     computer.
  148.                -  At  least  one "local"  floppy  disk  drive  or hard  disk
  149.                     drive.
  150.                -  MS-DOS, or IBM PC-DOS, Version 3.0 or later.
  151.  
  152.  
  153.           4.   Types of Screens that GRTXT.EXE Can Capture
  154.  
  155.  
  156.              GRTXT.EXE is designed  to capture screens  from programs  that
  157.           run  in   "real  mode"  or  "virtual  8086"  mode  under  MS-DOS.
  158.           GRTXT.EXE can  capture virtually any  text image that  is smaller
  159.  
  160.  
  161.           GRTXT.EXE       Documentation and Technical Notes    Page 4 of 14
  162.  
  163.  
  164.  
  165.           than  or  equal  to  132  characters  horizontally  by  60  lines
  166.           vertically.   GRTXT.EXE's offspring  files  consist of  the  text
  167.           characters that make up the captured  screens.  GRTXT.EXE formats
  168.           these text characters in plain ASCII text format.
  169.  
  170.  
  171.           5.   GRTXT.EXE Can Capture Text Screens, Not Graphics Screens
  172.  
  173.              GRTXT.EXE  captures only  character-based  text  screens,  not
  174.           graphical  images.  This means  that GRTXT.EXE cannot  be used to
  175.           create ASCII text  files from graphical images  that contain text
  176.           information.
  177.  
  178.  
  179.           6.   How to Install GRTXT.EXE in Memory
  180.  
  181.  
  182.              To  use  GRTXT.EXE, load  it  into your  computer's  memory by
  183.           entering a command that follows this example:
  184.  
  185.                                   GRTXT x:\pathname
  186.  
  187.              GRTXT.EXE will not stay  resident in memory (and you  will not
  188.           be able to  capture screens)  until you tell  GRTXT.EXE where  to
  189.           place its offspring  files, using  the syntax shown  above.   For
  190.           more information, see Section 4 of GRABBER.DOC.
  191.  
  192.              When you install GRTXT.EXE in memory, it will display a start-
  193.           up  message in a  brown box  in the corner  of your screen.   The
  194.           start-up  box is followed by a several lines of information about
  195.           the  way GRTXT.EXE is currently configured to run on your system.
  196.           If you  want to change this  configuration, you can do  so at the
  197.           time  you  install  GRTXT.EXE  in  memory  by  adding  additional
  198.           parameters  on   the  command   line  after   your  "x:\pathname"
  199.           parameter,  or  you  can  change it  after  GRTXT.EXE  is already
  200.           installed.  See Section 11 of this document for more  information
  201.           about changing the destination path for offspring files.
  202.  
  203.  
  204.           7.   How to Capture the Screen
  205.  
  206.  
  207.              After  you  press the  hotkey, you  will  hear a  short, high-
  208.           pitched  beep from your  computer speaker, and  a filename prompt
  209.           will appear in  the upper left corner of  your screen.  GRTXT.EXE
  210.           is waiting  for you  to enter  a name for  the offspring  file to
  211.           which  the current screen  image will be  saved.  If  this is the
  212.  
  213.  
  214.           GRTXT.EXE       Documentation and Technical Notes    Page 5 of 14
  215.  
  216.  
  217.  
  218.           first screen  you  have  requested  GRTXT.EXE  to  capture  since
  219.           installing  the program in memory,  then you must  enter your own
  220.           filename  at  the prompt.   Otherwise,  GRTXT.EXE will  suggest a
  221.           default filename that is the same as the last offspring file that
  222.           it captured.   To use  the suggested default  filename (if  any),
  223.           just press [Enter].  If you want to use a  different filename, or
  224.           no  default was suggested, type  the new name  and press [Enter].
  225.           If  you want to cancel  the screen capture  entirely, press [Esc]
  226.           until the filename prompt disappears from the screen.
  227.  
  228.              (GRABBER.EXE will not allow you to change the extension of the
  229.           offspring file name from ".TXT" to something else.)
  230.  
  231.              After you  press [Enter], the filename  prompt disappears from
  232.           the  screen,  and   GRTXT.EXE  goes  to  work,  saving  the  text
  233.           information  in the  current screen  image to  an offspring  file
  234.           which  has the name you entered.  The file will be located in the
  235.           "Drive/path for .TXT files" as listed in the start-up information
  236.           screen.
  237.  
  238.  
  239.           8.   Ascending  Two-Tone  Chirp  Indicates  a  Successful  Screen
  240.                Capture
  241.  
  242.  
  243.              If you hear an ascending, two-tone chirp  from your computer's
  244.           speaker, it  means that GRTXT.EXE has  successfully completed the
  245.           screen  capture, and  the offspring  file containing  the current
  246.           screen image is located in the "Drive/path for .TXT files."
  247.  
  248.  
  249.           9.   Three Low-Pitched Beeps Indicate a File System Error
  250.  
  251.  
  252.              If you  hear  three low-pitched  beeps from  your speaker,  it
  253.           means that no offspring  file was created.  GRTXT.EXE  was unable
  254.           to  complete the screen capture for one of the following reasons.
  255.           Correct  the error condition and try to capture the screen again.
  256.           Possible errors include:
  257.  
  258.                -  The destination disk is write-protected.
  259.                -  The destination disk is full.
  260.                -  The  destination  disk  has  no  more  directory   entries
  261.                     available.
  262.                -  The destination disk has a critical surface defect.
  263.                -  The  door is open  on the  destination disk  drive, or the
  264.                     drive is otherwise indicating a "not ready" status.
  265.  
  266.  
  267.           GRTXT.EXE       Documentation and Technical Notes    Page 6 of 14
  268.  
  269.  
  270.  
  271.                -  The  "FILES=" command  in  your  CONFIG.SYS file  does not
  272.                     specify  enough files;  increase the number  and reboot
  273.                     your computer.
  274.  
  275.  
  276.           10.     One Low-Pitched Beep Indicates a Graphical Mode
  277.  
  278.  
  279.              If you hear one low-pitched beep from your computer's  speaker
  280.           when you press  the hotkey, it means  that no offspring file  was
  281.           created.  GRTXT.EXE detected that  the video display is currently
  282.           operating  in  a graphical  (i.e., pixel-based)  mode, and  not a
  283.           character-based text  mode.  As  noted above, GRTXT.EXE  does not
  284.           capture graphical screens.
  285.  
  286.  
  287.           11.     Changing the Destination Drive or Directory
  288.  
  289.  
  290.              To change  the drive  or  directory where  GRTXT.EXE  deposits
  291.           offspring  files, enter  another GRTXT.EXE  command like  the one
  292.           described  in  Section 6  of  this  document.    From that  point
  293.           forward,  GRTXT.EXE  will  place  offspring  files  in  the   new
  294.           destination you specify.
  295.  
  296.  
  297.           12.  Configuration Options for GRTXT.EXE
  298.  
  299.  
  300.              GRTXT.EXE responds  to many of the  same command-line switches
  301.           used  by  GRABBER.EXE,  which  are  described  in  Section 12  of
  302.           GRABBER.DOC.  These switches allow you to modify the way in which
  303.           GRTXT.EXE  performs certain operations.   GRTXT.EXE also responds
  304.           to  several   additional  command-line  switches  that   are  not
  305.           available under GRABBER.EXE.
  306.  
  307.              The  following  command-line   switches  are  available  under
  308.           GRTXT.EXE  as well as under  GRABBER.EXE.  For  an explanation of
  309.           what these switches do under GRTXT.EXE, how to activate them, and
  310.           any limitations  on  their  usage,  refer to  GRABBER.DOC.    The
  311.           switches,  and  the  locations  in  GRABBER.DOC  where  they  are
  312.           explained, are:
  313.  
  314.                   - INT=nn                 (Section 12.1)
  315.                   - INT=OFF                (Section 12.2)
  316.                   - PROMPT and NOPROMPT    (Section 12.3)
  317.                   - MOUSE and NOMOUSE      (Section 12.4)
  318.  
  319.  
  320.           GRTXT.EXE       Documentation and Technical Notes    Page 7 of 14
  321.  
  322.  
  323.  
  324.                   - SOUND and NOSOUND      (Section 12.5)
  325.                   - BATCHCAPTURE[:]        (Section 12.6)
  326.                   - NOSWAP                 (Section 12.7)
  327.                   - NOEMS                  (Section 12.8)
  328.                   - NOUMB                  (Section 12.9)
  329.                   - UNLOAD                 (Section 12.10)
  330.  
  331.              In addition to the command-line switches listed above, several
  332.           other command-line  switches can be used under  GRTXT.EXE.  These
  333.           additional switches are described below in this Section 12.  Note
  334.           that  you  may  specify any  of  the  following  switches on  the
  335.           GRTXT.EXE command line  when you initially  install GRTXT.EXE  in
  336.           memory, or after GRTXT.EXE is already resident in memory.
  337.  
  338.  
  339.              12.1      Options:  CROP  and  NOCROP
  340.  
  341.  
  342.              Use  the CROP option to  enable GRTXT.EXE to  capture only the
  343.           part of  the screen which you  select.  When CROP  is enabled and
  344.           you  request  a screen  capture, GRTXT.EXE  does not  capture the
  345.           screen right away.  Instead, it first prompts you to enter a file
  346.           name  for the offspring file  (if the PROMPT  option is enabled),
  347.           then it asks you to indicate which portion of the screen you wish
  348.           to capture to a .TXT  file by drawing a box on top of the current
  349.           screen  image, which you can move and reshape to your preference.
  350.           Instructions for  moving and reshaping this "crop  box" are given
  351.           below in Section 15  of this  document.  The  default setting  is
  352.           NOCROP  (i.e., crop box is disabled).  When the NOCROP setting is
  353.           active,  GRTXT.EXE  captures the  entire screen  image to  a .TXT
  354.           file, and does not prompt you  to indicate which portion you wish
  355.           to  capture.  The  command GRTXT CROP  can be used  to enable the
  356.           crop  box.  The crop box will  then remain enabled until the next
  357.           GRTXT NOCROP command is issued.
  358.  
  359.  
  360.              12.2      Options:  1FORM,   2FORM,  3FORM,  4FORM,  5FORM,  or
  361.                                  NOFORM
  362.  
  363.  
  364.              The 1FORM through 5FORM options enable GRTXT.EXE's ability  to
  365.           insert a  "form  feed"  character after  a  specified  number  of
  366.           screens have been  captured to the same  .TXT file.  This  option
  367.           only has an effect in the following situations:
  368.  
  369.                   1)   When the NOPROMPT setting  and the APPEND setting are
  370.                        both active, or
  371.  
  372.  
  373.           GRTXT.EXE       Documentation and Technical Notes    Page 8 of 14
  374.  
  375.  
  376.  
  377.                   2)   When  the  PROMPT  setting  is  active  and  you  are
  378.                        appending  subsequent  screen  captures  to the  same
  379.                        .TXT file.
  380.  
  381.              Using  the 1FORM through 5FORM options, you can tell GRTXT.EXE
  382.           to  insert a  form feed  character (12  decimal,  0C hexadecimal)
  383.           after 'n' screens have been captured to the same .TXT file, where
  384.           'n' can be any  single digit from 1 to 5.   For example, when the
  385.           1FORM setting  is active,  GRTXT  inserts a  form feed  character
  386.           after each  screen is written to  the .TXT file.   When the 2FORM
  387.           setting  is active,  GRTXT inserts  a form  feed character  after
  388.           every  second screen written to the .TXT  file, and so forth.  To
  389.           prevent GRTXT  from inserting any  form feed characters  into the
  390.           .TXT file, specify the NOFORM setting.
  391.  
  392.              Inserting form feed characters can  be useful for printing the
  393.           data  in  the captured  .TXT file  later,  because the  form feed
  394.           character  causes  most  standard  (non-Postscript)  printers  to
  395.           automatically eject the  current page and start a new page at the
  396.           point where the character appears.
  397.  
  398.              The  default setting for this feature is NOFORM (i.e., no form
  399.           feed characters will be  inserted into the offspring file).   The
  400.           command  GRTXT 1FORM (or GRTXT  2FORM, GRTXT 3FORM,  etc.) can be
  401.           used to enable the insertion of form feeds.  Form feeds will then
  402.           remain enabled until the next GRTXT NOFORM command is issued.
  403.  
  404.  
  405.              12.3      Options:  PERMANENT=filename
  406.                               NOPERMANENT
  407.  
  408.  
  409.              These options tell GRTXT.EXE whether to capture all screens to
  410.           the file represented by "filename".
  411.  
  412.              The "PERMANENT=filename" option allows  you to force GRTXT.EXE
  413.           to  capture  all  screen data  to  a  certain  filename that  you
  414.           specify.   For example, to capture  all screens to a  file in the
  415.           current  directory called  TEXTDATA.TXT, you  would  include this
  416.           option on the GRTXT command line:
  417.  
  418.                      GRTXT [other options] PERMANENT=TEXTDATA.TXT
  419.  
  420.              Your  "filename"   can  also   include   a  drive   and   path
  421.           specification, for example:
  422.  
  423.                  GRTXT [other options] PERMANENT=C:\PICTURES\TEST.TXT
  424.  
  425.  
  426.           GRTXT.EXE       Documentation and Technical Notes    Page 9 of 14
  427.  
  428.  
  429.  
  430.              If you  have  told GRTXT  to  capture all  data  to a  certain
  431.           filename using the "PERMANENT="  option, you can tell it  to stop
  432.           forcing data into that  file by including the  NOPERMANENT option
  433.           on the command line.
  434.  
  435.              Note   that  when   you  use   the  "PERMANENT="   option,  it
  436.           automatically   has  two   side   effects.     First,  PERMANENT=
  437.           automatically sets the NOPROMPT option, which means  you will not
  438.           be  prompted on  the screen  to enter  a filename  each time  you
  439.           request a screen capture.  Second, PERMANENT= automatically  sets
  440.           the APPEND  option (see  Section 12.4  in this  document),  which
  441.           means that all screen data will be appended to the same .TXT file
  442.           while the PERMANENT= setting is active.
  443.  
  444.              The  default setting  for this  feature is  NOPERMANENT (i.e.,
  445.           text data will not be forced into a specific file).
  446.  
  447.  
  448.              12.4      Options:  APPEND  and  NOAPPEND
  449.  
  450.  
  451.              These options  enable and disable  the "Append Mode"  when you
  452.           have  told GRTXT.EXE  not to  use  on-screen filename  prompts by
  453.           using the NOPROMPT command switch.  These switches have no effect
  454.           when the PROMPT option is enabled.
  455.  
  456.              When filename prompts are disabled (i.e., NOPROMPT is  active)
  457.           and  you specify APPEND, then GRTXT.EXE will create only one .TXT
  458.           file, and will append  the contents of each subsequent  screen to
  459.           that  file until  you enable  the filename  prompts again.   When
  460.           filename prompts  are disabled  and  you specify  NOAPPEND,  then
  461.           GRTXT works in  its "Overwrite  Mode," which means  that it  will
  462.           create a separate .TXT file for each screen capture you request.
  463.  
  464.              The default setting for this  feature is NOAPPEND (i.e.,  each
  465.           screen will be captured to a separate offspring file).
  466.  
  467.  
  468.           13.     How GRTXT.EXE Names Offspring Files
  469.  
  470.  
  471.              When the PROMPT  setting is active,  GRTXT.EXE prompts you  on
  472.           the screen to enter a name  for the captured .TXT file.  However,
  473.           when  the NOPROMPT setting  is active, GRTXT.EXE  does not prompt
  474.           you to  enter a  filename.  Instead,  it composes  a filename  by
  475.           itself and  assigns it to the  offspring file in  the same manner
  476.  
  477.  
  478.           GRTXT.EXE       Documentation and Technical Notes   Page 10 of 14
  479.  
  480.  
  481.  
  482.           that GRABBER.EXE uses when  its NOPROMPT setting is active.   For
  483.           more information, see Section 12.3 of GRABBER.DOC.
  484.  
  485.  
  486.           14.     More Explanation of GRTXT.EXE's Filename Prompts
  487.  
  488.  
  489.              The  most  significant  difference  you  will  notice  between
  490.           GRTXT.EXE  and  GRABBER.EXE  is  in  the  area  of  the on-screen
  491.           filename prompts.  The following discussion only applies when the
  492.           PROMPT setting is active.
  493.  
  494.              The first time you call up GRTXT after installing it, there is
  495.           no default filename shown  on the screen.   You must supply  your
  496.           own file name.
  497.  
  498.              After  your  first .TXT  screen  capture,  however, subsequent
  499.           filename  prompts  will offer  you  a default  filename  which is
  500.           identical to the previous one you specified.  You may accept this
  501.           default filename  by pressing [Enter],  or you can  enter another
  502.           name.  After you press [Enter], you will then see this additional
  503.           prompt, which is not present under GRABBER.EXE:
  504.  
  505.                  FILENAME exists -- (A)ppend, (O)verwrite, (C)ancel ?
  506.  
  507.           (In  this example, "FILENAME" stands  for the actual  name of the
  508.           .TXT file that you entered.)  If you wish to  retain the contents
  509.           of  "FILENAME.TXT" and  simply append  the current screen  to the
  510.           bottom of it, just press <A> or [Enter]. If you wish to overwrite
  511.           (i.e.,  erase  and   replace)  the  contents   of  the   original
  512.           "FILENAME.TXT" file, then  press <O>.  If you decide  not to work
  513.           with this name and wish to enter  a different name instead, press
  514.           <C> (for "Cancel").
  515.  
  516.  
  517.           GRTXT.EXE       Documentation and Technical Notes   Page 11 of 14
  518.  
  519.  
  520.  
  521.           15.     How to Control GRTXT.EXE's Crop Box
  522.  
  523.              When the CROP  option is enabled,  (see Section 12.1 above  in
  524.           this  document), you can move and reshape GRTXT.EXE's crop box on
  525.           your screen by using the following keys:
  526.  
  527.           <Esc> . . . . . . . . . .   Abort  the  screen  capture and  exit
  528.                                       back to the foreground program.
  529.  
  530.           <Return>  . . . . . . . .   Accept the area  enclosed or  covered
  531.                                       by the crop box, and begin capturing.
  532.  
  533.           <Left Arrow>,
  534.           <Right Arrow>,
  535.           <Up Arrow> or
  536.           <Down Arrow>  . . . . . .   Move  the crop  box in  the direction
  537.                                       indicated, without changing the shape
  538.                                       of the box.
  539.  
  540.           <Shift><Left Arrow> . . .   Shrink the box horizontally.
  541.  
  542.           <Shift><Right Arrow>  . .   Expand the box horizontally.
  543.  
  544.           <Shift><Up Arrow> . . . .   Shrink the box vertically.
  545.  
  546.           <Shift><Down Arrow> . . .   Expand the box vertically.
  547.  
  548.           <Insert>  . . . . . . . .   Toggle   between   coarse  and   fine
  549.                                       increments  for  moving or  reshaping
  550.                                       the box.
  551.  
  552.           <Home>  . . . . . . . . .   Move  the box to  the upper left-hand
  553.                                       corner of the screen.
  554.  
  555.           <End> . . . . . . . . . .   Move  the box to  the lower left-hand
  556.                                       corner of the screen.
  557.  
  558.           <Ctrl><PgUp>  . . . . . .   Move the box to the  upper right-hand
  559.                                       corner of the screen.
  560.  
  561.           <Ctrl><PgDn>  . . . . . .   Move the box to the  lower right-hand
  562.                                       corner of the screen.
  563.  
  564.           <PgUp>  . . . . . . . . .   Move box to top edge of the screen.
  565.  
  566.           <PgDn>  . . . . . . . . .   Move  box  to   bottom  edge  of  the
  567.                                       screen.
  568.  
  569.  
  570.           GRTXT.EXE       Documentation and Technical Notes   Page 12 of 14
  571.  
  572.  
  573.  
  574.           <Ctrl><Left Arrow>  . . .   Move box to left edge of the screen.
  575.  
  576.           <Ctrl><Right Arrow> . . .   Move box to right edge of the screen.
  577.  
  578.  
  579.           16.     Changing GRTXT.EXE's Hotkey Combination
  580.  
  581.  
  582.              The default  hotkey combination  which  activates GRTXT.EXE  is
  583.           [Alt]-[=].    If you  wish, you  can  change this  default hotkey
  584.           combination to something else, and save the change permanently to
  585.           the GRTXT.EXE file  so that  the change  will automatically  take
  586.           effect each time you install GRTXT.EXE in memory.
  587.  
  588.              To  accomplish a  hotkey change,  use the  "SHIFT="  and "KEY="
  589.           command-line options.   To save a hotkey  change permanently, use
  590.           the "SAVEHOTKEY" command-line option.  All of  these options work
  591.           exactly the same way  under GRTXT.EXE as under GRABBER.EXE.   See
  592.           Section 15 of GRABBER.DOC for  a description of the SHIFT=,  KEY=
  593.           and SAVEHOTKEY options and how to  use them.  Refer to Appendices
  594.           A and B of GRABBER.DOC for a list of the codes that  must be used
  595.           with the SHIFT= and KEY= options to specify a new hotkey.
  596.  
  597.  
  598.           GRTXT.EXE       Documentation and Technical Notes   Page 13 of 14
  599.  
  600.  
  601.  
  602.           17.  Programmers' Note:  Calling GRTXT.EXE From Your Own Software
  603.  
  604.  
  605.              If you are a programmer developing  your own software, you  can
  606.           invoke  GRTXT.EXE to capture the screen from within your own pro-
  607.           gram, assuming  that GRTXT.EXE  is  already resident  in  memory.
  608.           This is  accomplished by using  GRTXT.EXE's external  programming
  609.           hook, which  is  a customized  call to  Interrupt 16h,  described
  610.           below.   You can write a routine  to implement this hook in 80x86
  611.           assembly language or in any high-level programming language which
  612.           supports BIOS-level interrupt calls.
  613.  
  614.                             INTERRUPT 16h, FUNCTION 4754h
  615.  
  616.           On entry: AX = 4754h
  617.  
  618.                     DL = 0  (to check only if GRTXT.EXE is resident)
  619.                     DL = 1  (to capture the current screen)
  620.  
  621.           On return:   AX = 5447h  (if GRTXT.EXE is installed in memory)
  622.  
  623.                     For DL=0
  624.                     or DL=1:  BL  contains the  logical drive to  which the
  625.                               capture would be attempted (for DL=0), or was
  626.                               attempted  (for DL=1).   0  =  default drive,
  627.                               1 = drive A, 2 = drive B, and so forth.
  628.  
  629.                     For DL=1:
  630.  
  631.                        If CF=0:  Capture was  successful.   ES:DX points  to
  632.                                  an   ASCIIZ   string  which   contains  the
  633.                                  [drive:][\path\]filename   of   the   newly
  634.                                  created offspring (the drive  is also coded
  635.                                  in BL; see above).
  636.  
  637.                        If CF=1:  If  DX  = FFFFh,  then  a  capture  attempt
  638.                                  failed  due to  a  critical  disk error  or
  639.                                  disk-full   error  on   the  logical  drive
  640.                                  encoded in BL  (see above).   Speaker  will
  641.                                  beep.
  642.  
  643.                                  If  DX does  not  equal FFFFh,  capture was
  644.                                  not   attempted.     GRTXT.EXE   was   busy
  645.                                  servicing a  prior capture request, or some
  646.                                  other  disk I/O  was occurring, or  DOS was
  647.                                  not  in  a reenterable  state.    Try again
  648.                                  momentarily.
  649.  
  650.  
  651.           GRTXT.EXE       Documentation and Technical Notes   Page 14 of 14
  652.  
  653.  
  654.  
  655.           18.  Technical Questions?  Reporting a Problem or Bug?
  656.  
  657.  
  658.              >> Do  not  contact the  Public  Software  Library if  you  are
  659.           experiencing  a technical problem  with GRTXT.EXE or  if you have
  660.           any  questions about how GRTXT.EXE is supposed to work.  Instead,
  661.           contact the publisher directly, as described in this section. <<
  662.  
  663.              The  publisher  wants  to  know  if  GRTXT.EXE  ever  fails  to
  664.           function on your system  as documented in this manual.   Also, if
  665.           you feel there is an  aspect of the program which is  not clearly
  666.           or completely described here, we appreciate your suggestions.
  667.  
  668.              Please  read  all  of  the  documentation  before submitting  a
  669.           problem report.  This way you can be certain whether there really
  670.           is a problem, or whether  the program is being  put to a use  for
  671.           which it is not designed or intended.  When submitting  a problem
  672.           report, be as specific as possible about what happens and in what
  673.           sequence or situation.  Be sure to list these specific things:
  674.  
  675.              (1)  All  of the  information provided on the  screen after you
  676.                   enter  the  GRTXT  command  at  the  DOS prompt  with  the
  677.                   program already resident in memory.
  678.              (2)  Your brand and model of video adapter.
  679.              (3)  Your brand and model of PC.
  680.              (4)  Your brand  and version of DOS (for example, MS-DOS V6.20,
  681.                   DR-DOS V5.0, PC DOS V4.0, etc.).
  682.              (5)  Your brand and model of video adapter.
  683.              (6)  The program from which you are  trying to capture when the
  684.                   problem occurs.
  685.              (7)  The  contents  of both  your  CONFIG.SYS and  AUTOEXEC.BAT
  686.                   files.
  687.  
  688.              Without  all of this  information, it  is difficult  to solve a
  689.           problem, and a response will be delayed.
  690.  
  691.              The publisher can be reached at the following addresses:
  692.  
  693.              Mail: Gerald A. Monroe              Fax:  (216) 333-6299
  694.                    P.O. Box 16296                Telephone:  (216) 333-6075
  695.                    Cleveland, Ohio 44116
  696.                    U.S.A.
  697.  
  698.           CompuServe:  72321,1257
  699.           Internet:    72321.1257@compuserve.com
  700.  
  701.                           * * *    End of GRTXT.DOC   * * *
  702.