home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
- Lines=5
- 01=Rotate
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and then rotates the images based on a
- 05=user defined angle.
-
- */
-
- options results
-
- arg FrameNum TotalNum
- address "IMAGEFX.1"
-
- if FrameNum = 0 then do
- Learn "Ram:CT-IFR" NoHeader Quiet Force
- Hook Rotate
- Learn Stop Quiet Force
- end
- else do
- if exists("Ram:CT-IFR.ifx") then address command "Rename Ram:CT-IFR.ifx to Ram:CT-IFR"
- call open TempFile,"Ram:CT-IFR",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
-