SNAP (Short Name: SNA)
Top  Previous  Next

Use the SNAP command to capture the current screen as a file that can be displayed later with the DISPLAY command.

snap

Option

filespec

Specifies a file name of the screen capture with a drive and path specification in the form D:\PATHNAME/FILENAME.EXT.

About the SNAP Command

The SNAP command is useful for taking a snapshot of a screen display. Screen snapshots are files that hold the text and the screen attributes of any screen that appears in R:BASE. You can also create a snapshot with the Take a Snapshot option from the Utilities menu in R:BASE for Windows.

When you use SNAP command, it produces a file that contains the screen text and images. You cannot edit this file with the R:BASE editor. In R:BASE for Windows, when you use the Take a Snapshot option from the Utilities menu, the current screen is captured in bitmap form in the Windows Clipboard Viewer.

Only snapshot files that are created with the SNAP command can be displayed with the DISPLAY command. You can include a drive or directory with the file name if the file is not stored in the current drive and directory. The screen image looks exactly as it appeared when the snapshot was taken.

Examples

The following command captures the entire screen and stores it in a file named MYFORM.FIL.

SNAP myform.fil

The following command captures a screen image starting at screen row 10 and screen column 15 and stores it in a file named PARTSCN1. Screen columns 1 through 15 are not included for any of the screen rows.

SNAP partscn1 FROM 10 15

The following command captures a screen image from screen row 1, screen column 1 to screen row 10, screen column 10, and stores it in a file named PARTSCN2.

SNAP partscn2 FROM 1 1 TO 10 10