home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chestnut's Multimedia Mania
/
MM_MANIA.ISO
/
multi
/
multi2_3
/
commands.lib
< prev
next >
Wrap
Text File
|
1992-07-06
|
5KB
|
121 lines
COMMAND NAME DESCRIPTION EXAMPLES
─────────────────────────────────────────────────────────────────────────────
SAY Will output speech, music and sound say hello
effects thru the pc speaker. You can say bye comeagain have up to 20 sound files in one say
have upto 20 command.
SAY-SB SOUND BLASTER SAY will output Sound say-sb mm1.voc
Blaster VOC files. You can have upto
20 VOC files in one say-sb command.
SHOW Will display a graphic image file. show blueyes.gif
Supports pcx, gif, pic, tif or tga. show menu.pcx
Refer to the Image Processor for
more show information.
SHOW-WIN Will display a graphic image file show-win house1.gif
with a scroll down effect. Supports
GIF and PCX only.
SHOW-WIN X Y Will display a graphic image file show-win mouth.gif 76 142
as an overlay, window or on top of show-win found1.gif 0 84
a graphic image.
Usage: window filename Xloc Yloc
DELAY Will wait for 1 second. delay
DELAY x Will wait for x seconds. delay 3
30 seconds is the maximum.
DELAY-KB xxx Will wait for xxx seconds or wait delay-kb 120
until the user presses a keyboard
key. 300 seconds is the maximum.
Use this to create a self running
demo.
KEY Will wait for the user to press key
any keyboard key.
KEY 123Q Will wait for the user to press key 123456789Q
a menu key(123 or Q) and returns
the key pressed. Use this to create key YN
a menu or ask a question. Refer to
manual.exe for more information. key ABC
SCROLL UP Will scroll up the graphic screen. scroll up
SCROLL DOWN Will scroll down the graphic screen. scroll down
This is a soft scroll effect.
ZOOM IN Will zoom in the graphic screen. zoom in
ZOOM OUT Will zoom out the graphic screen. zoom out
This is a fast zoom effect.
ROTATE Will rotate the graphic screen 180. rotate (VGA ONLY)
ROTATE x Rotates the graphic screen x times. rotate 20
NEGATIVE Will invert the graphic screen. negative
NEGATIVE x Inverts the graphic screen x times. negative 10
FADE Will fade the graphic screens. fade
This is a 5 step fade sequence.
GTEXT Displays a text line on top of a gtext "JUPITER TAKES ALMOST" 21 20 8 160 260
graphic image in 3 point sizes gtext "12 YEARS TO REVOLVE" 22 20 8 160 260
and any color.
Usage: gtext "your text" row column size fcolor bcolor
size is font size of 8, 14 or 16
fcolor is font color number 0-255 for VGA
bcolor is background color number 0-255 for VGA
A bcolor greater then 255 will appear transparent.
The parameter, "row," must be less than the vertical
resolution of the video mode divided by the font point
size. Example: 200 divided by 8 equals 25 rows.
PRINTSCR Will print the graphic screen to printscr
a dot matrix printer(high quality).
TEXTMODE Will return the graphic display to text mode
text mode and clears the screen.
CLR-TEXT Will clear the text screen(fancy). clr-text
FOR MORE INFORMATION ON THE COMMANDS AND BATCH FILES REFER TO MANUAL.EXE
────────────────────────────────────────────────────────────────────────
* THERE ARE MORE ADVANCED COMMANDS ON THE REGISTERED VERSION OF MULTIMEDIA 1.
OTHER BATCH COMMANDS AVAILABLE THRU DOS
─────────────────────────────────────────────────────────────────────────────
ECHO OFF Turns off the commands echo. this echo off
will not echo the commands to the echo on
screen.
ECHO text Will echo text to screen. echo HELLO WELCOME TO MY PROGRAM
CLS Will clear the text screen. cls
CALL Calls one batch file from another call example1.bat
without ending itself.
GOTO Process commands starting with the goto menu_again
line after the specified label.
:menu_again is a label example.
IF Performs a command if a condition if errorlevel 1 goto menu1
is met. This is used in conjuction if errorlevel 2 goto menu2
with the KEY command, to ask the
user a question and read the response.
Refer to example4.bat for more info..
FOR MORE INFORMATION ON BATCH FILES REFER TO YOUR DOS MANUAL.
─────────────────────────────────────────────────────────────