home *** CD-ROM | disk | FTP | other *** search
- /*
- ** DisplayRendered.fred.pre
- **
- ** $VER: DisplayRendered.fred.pre 1.3.0 (31.10.93)
- **
- ** If the DisplayRendered.fred script appears in the InvokeADPro list,
- ** this program will ask the user to select an amount of time to keep
- ** the image on-screen.
- **
- ** Clips Exported:
- ** FREDDisplayDuration - Length of time to display image
- ** in seconds
- **
- ** 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
-
-
- /*
- ** Ask the user to select the amount of time to display the image.
- */
-
- CALL "FREDSCRIPTS:FREDFunctions/GetAFloat" '"Seconds to display image"' 5.0 0.1 300.0 TRUE
- IF (RESULT = "CANCEL") THEN
- EXIT 10
- Duration = RESULT
-
-
- /*
- ** Update the clips.
- */
-
- SETCLIP( "FREDDisplayDuration", Duration )
-
- EXIT 0
-