home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 20
/
AACD20.BIN
/
AACD
/
Graphics
/
PerfectPaint
/
rexx
/
bridge
/
AppAnim.rx
< prev
next >
Wrap
Text File
|
2001-01-13
|
546b
|
39 lines
/* arexx Script
Make anim with pictures
*/
options results
parse ARG Port count b
ADDRESS value Port
file="Ram:MultiFile"
IF OPEN("g",file,"read") then DO
file=READLN("g")
pp_Load file
pp_MakeAnim count Preview
pp_CountFrames
count=result
Do i=1 to count-1
pp_FastNextFrame
file=READLN("g")
pp_Bload file
pp_GetWidthB
w=result
IF w=0 then DO
EXIT
END
pp_GetHeightB
h=result
x=w/2
y=h/2
pp_Plot x y
END
CALL close(file)
pp_GotoFrame 1
END
pp_FreeBrush
pp_PermitRefresh