home *** CD-ROM | disk | FTP | other *** search
-
-
- GRABBER.COM Ver. 3.2
-
- and
-
- GRFILTER.COM Ver. 1.0
-
- ------------------------
-
- The Screen Capture Programs
- for the IBM PC/XT/AT and
- Color Graphics or Monochrome
- Display Adapter
-
- DOCUMENTATION AND TECHNICAL NOTES
- November 15, 1988
-
- Copyright (C) 1988 by
- Gerald A. Monroe
- All rights reserved.
-
-
-
- GRABBER and GRFILTER are currently marketed as shareware
- programs.
-
- This means you have the opportunity to use and evaluate them
- before you decide to buy. If you find that they meet your
- expectations, then you are strongly encouraged to send your
- registration fee of $10.00 to me at the address given below.
-
- That's a very reasonable price, I think, for the very unique
- and efficient utilities you've received in this package. Whether
- you use your computer mainly for spreadsheet analysis, system
- development, PC consulting or just playing games, I'm sure
- you'll find GRABBER and GRFILTER very helpful tools.
-
- From a programmer's perspective, GRABBER is a prime candidate
- for your AUTOEXEC.BAT file. It takes advantage of some of
- DOS's most interesting characteristics to perform file I/O
- safely and promptly whenever called upon. GRABBER is fully
- compatible with Borland's Sidekick (tm), provided it is loaded
- before that program, and has tested reliably in some of the
- most treacherous memory environments I could cook up.
-
- Avid users, please send your $10.00 registration to:
-
- Jerry Monroe
- 1241 Bunts Road
- Lakewood, Ohio 44107 U.S.A.
-
- If you have any questions or comments concerning GRABBER.COM
- or GRFILTER.COM, and you have a modem, please leave a message
- for Jerry Monroe on Norm Henke's PC-Ohio II BBS at (216) 291-3048.
- This is the official support BBS for GRABBER and its related
- video utilities.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 2 of 8
-
-
-
- PART I -- GRABBER
- ------------------
-
-
- GRABBER.COM, Ver. 3.2, is a memory-resident screen-capture
- utility for the IBM Personal Computer and true compatibles.
-
- Requirements: IBM PC, XT, AT, PS/2 or compatible computer; one
- diskette drive; Color Graphics display adapter or
- Monochrome Text adapter; PC- or MS-DOS Version
- 2.0 or greater.
-
- Unlike any other resident screen-capture program of which the
- author is yet aware, GRABBER Ver. 3.2 saves any text or
- graphics screen produced by the Color Graphics Adapter (CGA),
- as well as text screens on the Monochrome Display Adapter (MDA),
- to an executable .COM file. In order to restore the saved image
- to the screen, it is necessary only to execute the resulting
- program file at the DOS command level.
-
- To install the program in memory, type GRABBER d: or GRABBER /D
- at the DOS prompt. The parameter is not optional; entering
- GRABBER by itself displays a brief help screen but does not
- activate the program. If a valid drive parameter is specified
- (A: to Z:), all captured screens will be saved to program files
- on that logical or physical drive. If the /D parameter is given,
- GRABBER will save screens to whatever drive and path is currently
- the default.
-
- GRABBER does not recognize subdirectory names on the command
- line. Users of DOS versions 3.10 and above, however, may use its
- very useful SUBST program to refer to any path in their hard disk
- tree structures using a logical drive letter. (In order to use
- SUBST, you may need to include a LASTDRIVE command in your
- CONFIG.SYS file; consult your DOS manual for details.)
-
- To change the drive to which screens are saved during a session,
- simply run GRABBER again from the DOS prompt with the new parameter.
- For example, if your AUTOEXEC.BAT file includes the command
- GRABBER /D and you want to save all subsequent screens to a floppy
- diskette in drive A, issue the command GRABBER A: and the switch
- will be made instantly.
-
- Beginning with Version 3.2, GRABBER may be removed from memory
- by entering GRABBER /U from the DOS prompt. GRABBER is very
- tightly written in assembly language code, and therefore uses a
- small amount of memory -- about 2K of your RAM. The uninstall
- option is provided for times when you want to free as much memory
- as possible for use by another application, or when GRABBER's
- trigger-key combinations conflict with another program. GRABBER
- can be successfully uninstalled only under certain conditions,
- which are described below.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 3 of 8
-
-
-
- Once GRABBER is loaded, it monitors all keyboard activity,
- waiting for the key combinations of Ctrl-= (or Ctrl-1) before
- going to work. These two keystroke combinations have different
- uses which are explained below. When it detects the trigger,
- GRABBER steps in to create a .COM program file containing the
- current text or graphics image, either in the current default
- path or the prespecified path, as explained above. Control is
- then returned to DOS or the interrupted application program.
-
- If a capture request is made via the trigger keys and an error is
- encountered while writing the "offspring" .COM file, the program
- will signal the error condition by sounding three short beeps on
- the PC's speaker. The beeps mean that the image has not been
- saved, and the user should correct the error condition and try
- the capture again. Common errors include trying to write to an
- empty diskette drive, a write-protected or damaged disk, or a
- disk whose directory or data space is already full.
-
- ***** NEW WITH VERSIONS 3.X -- MONOCHROME SUPPORT *****
- * *
- * GRABBER now supports systems equipped with monochrome text *
- * display adapters (MDA's). This means users with monochrome *
- * screens can now save 80x25 text images to disk. GRABBER does *
- * support Hercules-compatible Monochrome Graphics Adapters, but *
- * currently only in text mode. To capture screens on an MDA *
- * system, use only the Ctrl-= trigger. Future versions of *
- * GRABBER will support the graphics capabilities of monochrome *
- * systems. *
- * *
- *******************************************************************
-
- As noted above, GRABBER responds to two key combinations: Ctrl-=
- and Ctrl-1. To capture any text image and most graphics images
- to disk, use Ctrl-=.
-
- In some situations where a graphics capture is required, it may
- be necessary to use Ctrl-1 instead. The graphics mode of Lotus
- 1-2-3, Rel. 1 and 1A(*), is one such situation. This program,
- and others which you may encounter, employ custom video drivers
- to manipulate the display screen directly without using the PC's
- built-in video services, on which GRABBER normally relies.
-
- If you are trying to capture a graphics image on a CGA system,
- but the offspring .COM program displays only garbage, this is a
- good indication that Ctrl-1 should be used with your program while
- it is running in graphics mode. If this doesn't produce the
- desired result, and you're a registered user, please contact me
- to fix the problem.
-
- To clarify things, 1-2-3 Rel. 2.0 and above use Ctrl-= in any
- video mode. Rel. 1 and 1A(*) use Ctrl-1 only in graphics mode,
- and Ctrl-= in text mode.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 4 of 8
-
-
- Uninstalling GRABBER
- --------------------
-
-
- Under certain conditions, GRABBER may be removed from memory
- without rebooting the system, by using the GRABBER /U command.
- Once GRABBER has been successfully uninstalled, the trigger key-
- strokes described above (Ctrl-= and Ctrl-1) will revert to their
- normal DOS defaults or to any application which requires them.
- Also, any drive parameters specified in previous installations
- will be erased. To restart GRABBER after uninstalling it, simply
- enter GRABBER d: or GRABBER /D again from the DOS prompt or batch
- file and proceed as usual. Offspring filenames will start again
- at SCREEN00.COM after GRABBER is uninstalled and reinstalled.
-
- GRABBER may not be uninstalled if, after the last time it was
- loaded, you also loaded other memory-resident software which is
- activated by any of the same hardware or software interrupts which
- GRABBER uses. Attempting the GRABBER /U option under such circum-
- stances will not work, and the program will exit with a message to
- this effect.
-
- Also, do not attempt to uninstall GRABBER while on temporary leave
- from another application through a DOS shell, or while a secondary
- copy of COMMAND.COM is running. Many programs, such as WordPerfect
- ("Shell") and Lotus 1-2-3 ("/System"), allow you to escape to the
- DOS prompt or run another program without really leaving the orig-
- inal program, and return to them quickly with an "EXIT" command.
- GRABBER may allow the use of the /U option under these circum-
- stances, but the results can sometimes be unpredictable.
-
- If you wish to uninstall GRABBER and are not sure if the system is
- running under one of these secondary command processors, you can
- make sure by entering the "EXIT" command twice at the DOS prompt.
- If nothing appears to happen -- that is, you do not return to
- another application program, and the DOS prompt remains -- then
- it is safe to use the GRABBER /U command.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 5 of 8
-
-
- PART II -- OFFSPRING
- ---------------------
-
-
- GRABBER's "offspring," i.e. the screen programs it creates,
- are named sequentially, SCREEN00.COM, SCREEN01.COM, and so forth.
- The filenames will start over again at SCREEN00 every time the
- computer is rebooted, GRABBER is uninstalled/reinstalled, or
- after the one-hundreth snapshot in a session (SCREEN99) is taken.
- In order to prevent valued screen files from being overwritten by
- new screens with the same name, therefore, it is advisable to
- REName them at the first available opportunity to something more
- descriptive. The renamed file must retain the .COM extension to
- be recognized by DOS as an executable program.
-
- Suppose that you have created a bar graph using 1-2-3 and captured
- the image to disk, renaming the file GRAPH.COM. Entering the com-
- mand GRAPH [/F] [/Tn] [keylist] at the DOS prompt will restore
- the graphics image to the screen almost instantly. (More on the
- /F, /Tn and keylist options below.) The GRAPH program then clears
- the keyboard buffer and pauses until a key is pressed. At this
- point, the screen is cleared, the video mode and palette in effect
- when GRAPH.COM was invoked will be restored, and the cursor will
- reappear at the lower left-hand corner of the screen.
-
- There are situations in which you might wish to load an image on
- the screen and return control to DOS immediately, without having
- to press a key first. This is where the optional /F ("Fast")
- switch comes in. In the example above, the command GRAPH /F
- alters program execution so that the image is displayed as
- before, but the cursor will be placed at the lower left corner
- of the screen right away and the DOS prompt will reappear there.
-
- The /F ("Fast Display") option
- ------------------------------
-
- The /F switch is recommended only for text images, since it may
- leave behind unattractive patterns on the screen when used with
- graphics images. If you choose a fast display with a graphics
- image and need to clean things up afterward, the DOS command
- "MODE CO80" will set things right again.
-
- Any text screen captured from a monochrome display can be dis-
- played on a color system as well. Likewise, 80x25 text screens
- captured on a CGA system can be viewed on a monochrome display.
- However, 40x25 color text screens, and 320x200 or 640x200 CGA
- graphics images, cannot be displayed on monochrome systems.
-
-
- GRABBER.DOC -- Documentation and Technical Notes Page 6 of 8
-
-
-
- ***** NEW WITH VERSIONS 3.X -- INTERACTIVE BATCH SUPPORT ******
- * *
- * SCREENXX [keylist] *
- * *
- * GRABBER now features support of DOS "errorlevel" functions, *
- * a great aid for those using GRABBER screens with DOS menu *
- * systems and "slideshow" programs driven by interactive batch *
- * files. *
- * *
- ******************************************************************
-
- In addition to the /F command option, GRABBER offspring are now
- equipped to communicate with batch files using the DOS errorlevel
- facility. To do this, include one or more "response keys" on the
- command line after the name of your offspring program. The screen
- will be displayed, but only the press of a letter- or number-key
- on the keylist will exit the screen. The program then passes to
- DOS an errorlevel value relative to that key's position in the
- keylist. Your batch files can test this errorlevel and branch
- accordingly.
-
- For example, say you have painted and captured (with GRABBER) a
- menu screen for your PC and called it MENU.COM. The menu has
- three choices labeled (A), (B) and (C). Include in your menu
- batch file this command: MENU a,b,c
-
- When run, the menu screen is displayed and waits for the user
- to make a choice. If "A" or "a" is pressed, the screen exits
- and passes an errorlevel of 1. Pressing "B" or "b" passes a 2,
- "C" or "c" gives a 3, and so forth. Any other keypress is
- ignored, including spaces, commas, tabs or "/" slashes. Entering
- "MENU 1,2,3,X" for instance, is the same as "123X", "1 2 3 X" or
- "1/2/3/X".
-
- Note that an offspring screen with a keylist may be exited by
- pressing Ctrl-C or Ctrl-Break. In such cases, an errorlevel
- of 255 will always be passed.
-
- PLEASE NOTE: GRABBER's /F and keylist options are not compatible
- with each other. If a /F parameter is present anywhere on the
- command line, the program assumes that a fast display is desired
- and will ignore any keylist which may also be present.
-
- Any alpha-numeric or function key may be used to exit a GRABBER
- offspring program entered without the /F or keylist parameters.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 7 of 8
-
-
- The /Tn (Timer) option
- ----------------------
-
- New with GRABBER Version 3.2 is the addition of an auto-exit
- option for offspring programs, activated by a /Tn parameter on
- the command line. This option is especially useful for running
- slideshow demonstrations or similar batch-driven applications
- on an unattended computer, or whenever you wish to bypass the
- need for keyboard input.
-
- When the /Tn timer option is used, the offspring program will
- display its image and wait for the number of seconds you specify
- (represented by n) before exiting to DOS or the calling batch file.
- The value of n may range from 1 to 999 seconds (about 16-1/2
- minutes), positive integers only. When /Tn is used, it is not
- necessary to press a key to exit to DOS; in fact, all keystrokes
- except <Esc> will be ignored. To exit an image before n seconds
- have elapsed, simply press <Esc>.
-
- The /Tn option may be used together with the /F fast display
- option. Like /F, however, the timer option is not compatible
- with the keylist option, and will override any keylist which may
- also be present on the command line.
-
-
- GRABBER.COM -- Documentation and Technical Notes Page 8 of 8
-
-
- PART III -- GRFILTER.COM
- -------------------------
-
-
- GRFILTER is a new program accompanying GRABBER Vers. 3.X. It may
- be used only with offspring files created by this or later versions
- of the GRABBER program. Converting a GRABBER offspring from an
- earlier version to 3.0+ format is easy: simply display it and
- recapture it using Ctrl-=.
-
- GRFILTER is a binary-to-ASCII file filter specifically for GRABBER
- offspring programs containing 80x25 or 40x25 text screens only.
- When run, it prompts the user for the name of a valid offspring
- program (.COM file), and a filename for the filtered ASCII output.
- Full pathnames are acceptable.
-
- GRFILTER searches through the offspring program for the ASCII
- text data it contains, disregards any nonprintable binary
- information, and creates a pure-ASCII text file given the
- specified name and optional path. As with any ASCII file, you
- may TYPE this output to the console, COPY it to the printer,
- edit it with your word processor or import it into a spreadsheet.
-
- GRFILTER opens your offspring program file for reading only, and
- does not alter the original file in any way. You may pass it
- through GRFILTER as many times as you like, and it will always
- execute the same way, according to any optional parameters you
- may supply, which are described above.
-
- GRFILTER can be run interactively without parameters, or you may
- supply the input and output files on the command line:
-
- GRFILTER [d:][path]SCREENXX.COM [d:][path]SCREENXX.TXT