home *** CD-ROM | disk | FTP | other *** search
- /*
- * ImageFX Browser Script
- *
- * All browser scripts are called as follows:
- *
- * ScriptName.browse <numfiles> <filelist>
- *
- * Where:
- *
- * <numfiles> = Number of files selected (could be 0).
- * <filelist> = File containing the list of files selected,
- * one file per line, with full pathname.
- *
- * EditImage.browse:
- *
- * Load the first image supplied into ImageFX; bring ImageFX to
- * the front.
- *
- */
-
- OPTIONS RESULTS
-
- PARSE ARG numfiles filelist .
-
- IF numfiles > 0 THEN DO
-
- Screen2Front
-
- IF OPEN(infile, filelist, 'Read') THEN DO
-
- curfile = READLN(infile)
- LoadBuffer '"'curfile'"' FORCE
- Uniconify
-
- CALL CLOSE(infile)
-
- END
-
- EXIT 0
-