



    ________________________________________________________________________
                                  Appendix 3: Using the CAP utility   373
    ________________________________________________________________________



    APPENDIX 3:  USING THE CAP UTILITY

    The HyperPAD CAP program is a screen capture utility for developing
    computer based training or demonstration programs and other
    applications. With the CAP utility, you can import character based
    screen images into HyperPAD.

    You can capture images from nearly any DOS program that runs in
    character mode, such as Lotus 1-2-3, WordPerfect, dBASE IV and Microsoft
    Word. You can capture text of three resolutions: 80 by 25, 80 by 43, and
    80 by 50.


    LOADING CAP

    Before you start the applications program containing the screens you
    want to capture, you have to load CAP into your computer's memory.


    To load CAP into memory:

    1.  Change to the directory containing your HyperPAD program.

    2.  Type:

    cap <filename>

    Where <filename> is the name of the file in which you'd like to store
    your images. If the file you name already exists, CAP adds captured
    images to the end of that file

    For example:

    cap c:\hpad2\pics

    cap screens

    3.  Press ENTER.

    CAP displays a message that tells you that it has been loaded into
    memory. CAP is loaded into memory like any other DOS program but unlike
    many others, it returns you immediately to the DOS prompt.



    ________________________________________________________________________
                                  Appendix 3: Using the CAP utility   374
    ________________________________________________________________________


    CAPTURING A SCREEN

    After you've loaded CAP into memory, the next step is to load a program
    and bring up the screen you want to capture. The trigger (hot keys) for
    taking a picture of a screen is both shift keys (SHIFT+SHIFT).

    With the screen that you want to capture displayed, hold down both SHIFT
    keys together until you hear a tone.

    If HyperPAD can capture the image, it writes to your disk and produces a
    short tone. If CAP is unable to capture the image on your screen, it
    produces a longer variable tone. This occurs if you attempt to capture
    from a graphics mode program, such as Windows 3.0.


    A NOTE TO MICROSOFT WORD USERS

    Microsoft Word versions 4.0 and higher give you the option of switching
    from graphics mode to character mode. ALT+F9 is the keystroke you press
    to toggle from one to the other. If you hear the HyperPAD error signal
    when you press SHIFT+SHIFT, press ALT+F9 and try again.


    SAVING SCREENS IN DIFFERENT FILES

    Once CAP is in memory, you are free to change to a different file for
    storing your images.

    1.  At the DOS prompt, type:

    cap <newfilename>

    <newfilename> is the name of a different file to receive the next
    captured image.

    2.  Press ENTER.



    ________________________________________________________________________
                                  Appendix 3: Using the CAP utility   375
    ________________________________________________________________________


    IMPORTING CAPTURED SCREENS INTO HYPERPAD

    Once you've created a CAP file, it remains on disk, waiting for you to
    use the Import command from the HyperPAD File menu.


    To import captured images:

    1.  Load HyperPAD.

    2.  Select the Import command from the File menu.

    3.  Select the Show Partner (.GX2) option from the dialog box.

    4.  Select the filename to be imported.

    5.  Select <<OK>>.

    HyperPAD creates a new page on the current background for every image
    you captured.


    ABOUT 43-LINE EGA AND 50-LINE VGA SCREENS

    Many DOS programs now support the capability of Enhanced Graphics
    Adapter (EGA) and Video Graphics Array (VGA) cards to display more than
    twenty five rows on a single character mode screen. You can capture
    these screens with CAP, then import them into HyperPAD with the Import
    command.

    When importing, you must make sure the pad uses the sample screen mode
    as the captured images. HyperPAD skips importing any captured images
    that do not match the size of the current page. (If you have the
    appropriate hardware, you can create pads in these modes by selecting
    either the 43 Lines option of the 50 Lines option from the New command
    on the File menu.


    REMOVING CAPTURE FROM MEMORY

    You can remove the capture program from memory by typing the following
    command at the DOS prompt:

    CAP /r

    Make sure the CAP program was the last program loaded, or you will be
    unable to remove it from memory.



    ________________________________________________________________________
                                  Appendix 3: Using the CAP utility   376
    ________________________________________________________________________


    CHANGING THE TRIGGER KEYS

    You can change the trigger keys used to capture an images using the
    following command:

    cap /k

    Capture responds by displaying a message instructing you to press the
    new key combination.