home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=7
- 01=Crop Image
- 02=
- 03=This script will load an image into
- 04=Image FX and allow you to crop the
- 05=first image visually then apply those
- 06=settings to the rest. This can not be
- 07=used if you run IFX on the workbench.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- Learn "RAM:CT-IFCI" NoHeader Quiet Force
- Crop
- Learn Stop Quiet Force
- end
- else do
- if exists("RAM:CT-IFCI.ifx") then address command "Rename RAM:CT-IFCI.ifx to RAM:CT-IFCI"
- call open TempFile,"RAM:CT-IFCI",R
- do until eof(TempFile)
- line = readln(TempFile)
- parse var line Start" "RestOfLine
- if Start = "Crop" then Answer = line
- end
- call close TempFile
- Answer
- end
-
-
-
- exit
-