home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=5
- 01=Run Macro
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and allows you to run an ImageFX macro
- 05=file that either comes with ImageFX or that you created.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
-
- RequestFile '"Select Macro To Execute!"' 'IMAGEFX:REXX' '' ''
- Macro = result
- call open TempFile,"Ram:CT-RM",W
- call writeln TempFile,Macro
- call close TempFile
- end
- else do
- call open TempFile,"RAM:CT-RM",'R'
- Macro = readln(TempFile)
- call close TempFile
- end
-
- Rx Macro
-
-
-
- exit
-