home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=5
- 01=Wave Image
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and uses the wave Distort Hook to create
- 05=ripple type effects on images.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- Learn "RAM:CT-IFWAI" NoHeader Quiet Force
- Hook Wave
- Learn Stop Quiet Force
- end
- else do
- if exists("RAM:CT-IFWAI.ifx") then address command "Rename Ram:CT-IFWAI.ifx to Ram:CT-IFWAI"
- call open TempFile,"Ram:CT-IFWAI",R
- do until eof(TempFile)
- line = readln(TempFile)
- parse var line Start" "RestOfLine
- if Start = "Hook" then Answer = line
- end
- call close TempFile
- Answer
- end
-
-
- exit
-