home *** CD-ROM | disk | FTP | other *** search
- /*
- ** SaveAsRENDITION.fred.pre
- **
- ** $VER: SaveAsRENDITION.fred.pre 1.1.0 (24.10.93)
- **
- ** If the SaveAsRENDITION.fred script appears in the InvokeADPro list,
- ** this program will ask the user to enter the save parameters for the
- ** RENDITION'd file. These parameters will be stuffed into REXX clips.
- **
- ** If they fail to answer, the InvokeADPro list will be aborted.
- **
- ** Clips Exported:
- ** FREDRENDITIONFNameSelect - String describing how the filename
- ** should be modified
- ** FREDRENDITIONSeqFileSelect - Name of sequence file created
- **
- ** NOTE: Clip names are case sensitive.
- **
- ** This script requires FRED v1.4.0 (or higher) to run. Also required is
- ** ADPro v2.5.0 (or higher).
- **
- ** Copyright © 1992-1993 ASDG, Incorporated
- ** All Rights Reserved
- */
-
-
- ADDRESS "ADPro"
- OPTIONS RESULTS
-
- PARSE ARG NumberOfCells NumberOfFrames
-
- NL = '0A'X
- SQ = '27'X
- DQ = '22'X
- TRUE = 1
- FALSE = 0
-
-
- /*
- ** Specify whether the given filename should be reused for the
- ** RENDITION'd filename.
- */
-
- CALL "FREDSCRIPTS:FREDFunctions/ModifyFilenameSelect" '"'".6rn"'"' 4 1 10
- FNameSelect = RESULT
- IF (RESULT = 10) THEN
- EXIT RESULT
-
- CALL "FREDSCRIPTS:FREDFunctions/SeqFileSelect"
- SeqFileSelect = RESULT
- IF (RESULT = 10) THEN
- EXIT RESULT
-
-
- /*
- ** Update the clips.
- */
-
- SETCLIP( "FREDRENDITIONFNameSelect", FNameSelect )
- SETCLIP( "FREDRENDITIONSeqFileSelect", SeqFileSelect )
-
- EXIT 0
-