home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Mecomp Multimedia 1
/
Mecomp-CD.iso
/
amiga
/
tools
/
utillities
/
vinced
/
s
/
setfont
< prev
next >
Wrap
AmigaDOS Script File
|
1997-03-30
|
840b
|
55 lines
.key FONT/A,SIZE/A,SCALE/S,PROP/S,ITALIC/S,BOLD/S,UNDERLINE/S,CLEAR/S
.bra <
.ket >
if "<FONT>" eq "topaz"
if "<SIZE>" eq "9" val
echo "*E]50;topaz.9"
skip setstyle
endif
if "<SIZE>" eq "8" val
echo "*E]50;topaz.8"
skip setstyle
endif
endif
if exists "FONTS:<FONT>.font"
if "<SCALE>" eq "SCALE"
echo "*E]50;<FONT>.<SIZE>"
skip setstyle
else
if exists "FONTS:<FONT>/<SIZE>e"
echo "*E]50;<FONT>.<SIZE>"
skip setstyle
else
if exists "FONTS:<FONT>/<SIZE>"
echo "*E]50;<FONT>.<SIZE>"
skip setstyle
else
fault 205
quit 10
endif
endif
endif
else
fault 205
quit 10
endif
lab setstyle
echo "*E[0m"
if "<ITALIC>" eq "ITALIC"
echo "*E[3m"
endif
if "<BOLD>" eq "BOLD"
echo "*E[1m"
endif
if "<UNDERLINE>" eq "UNDERLINE"
echo "*E[4m"
endif
if "<CLEAR>" eq "CLEAR"
echo "*E[H*E[2J"
endif