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.
- *
- * CreateNails.browse:
- *
- * Create thumbnails for all selected files.
- *
- * 02.01.95 tek Added missing END statement.
- *
- */
-
- OPTIONS RESULTS
-
- PARSE ARG numfiles filelist .
-
- IF numfiles > 0 THEN DO
-
- IF OPEN(infile, filelist, 'Read') THEN DO
-
- DO WHILE ~EOF(infile)
- curfile = READLN(infile)
- IF curfile ~= "" THEN DO
- LoadBuffer '"'curfile'"' FORCE
- IF rc = 0 THEN CreateNailFile curfile
- END
- END
-
- CALL CLOSE(infile)
- KillBuffer FORCE
-
- END
-
- END
-
- EXIT 0
-