home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbsdoor
/
prview11.zip
/
GIFDES40.ZIP
/
SAMPLE.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1991-02-28
|
2KB
|
40 lines
*
* GIFDESK command language
*
* These are comment lines (either '*' or ';' prefix comment lines in col. 1)
*
*
* AVAILABLE COMMANDS: (MUST START IN COLUMN 1)!
* SKIP=n ; skips to files starting with n
* WRITE ; write screen out to GIF file GIFDSKnn.GIF (use REDRAW prior to WRITE)
* PRINT ; prints screen to LaserJet on LPT1 (use REDRAW prior ro PRINT)
* GRAY ; toggles gray/color. Initial mode is color
* UPRES ; up to next resolution 640x480 -> 800x600 -> 1024x768
* DOWNRES ; down to next resolution 1024x768 -> 800x600 -> 640x480
* 1ARRANGE ; like F1, arrange in 1x1 format
* 2ARRANGE ; like F2, arrange in 2x2 format
* 3ARRANGE ; like F3, arrange in 3xn format
* 4ARRANGE ; like F4, arrange in smallest format
* EXIT ; exit GIFDESK
* TOGGLE ; switch into next arrangement format
* FIRST ; move to 1st screen of pictures
* LAST ; move to last screen of pictures
* REDRAW ; allow screen to paint. Use before WRITE or PRINT
* NEXT ; next page of pictures
* BACK ; previous page of pictures
;
; Sample file:
;
1ARRANGE ; switch to 1x1
GRAY ; change to grayscale
LAST ; position to last picture
REDRAW ; draw screen
WRITE ; generate GIF file GIFDSK00.GIF
BACK ; position to prior picture
BACK ; ditto
BACK ; ditto
2ARRANGE ; now last 4 pictures on screen
REDRAW ; let it redraw
WRITE ; generate GIF file GIFDSK01.GIF
ESC ; quit