home *** CD-ROM | disk | FTP | other *** search
- /*
- * PaintFX.ifx.pre
- * Written by Thomas Krehbiel
- *
- * Call PaintFX hook.
- *
- * Inputs:
- * Word(Arg(1),1) = Sequence number (?)
- * Word(Arg(1),2) = Total number of frames (N)
- *
- * Returns:
- * 0 if successful, non-zero on failure
- *
- */
-
- OPTIONS RESULTS
-
- fpath = GETCLIP('Autofx_PaintFX_Path') ; IF fpath = "" THEN fpath = "Storage/PaintFX"
- ffile = GETCLIP('Autofx_PaintFX_File')
-
- RequestFile '"Select PaintFX Style:"' '"'fpath'"' '"'ffile'"'
- IF rc ~= 0 THEN EXIT rc
-
- CALL SETCLIP('Autofx_PaintFX_Style', filereq.file)
-
- CALL SETCLIP('Autofx_PaintFX_Path', filereq.path)
- CALL SETCLIP('Autofx_PaintFX_File', filereq.file)
-
- EXIT
-