TITLE: Frame Contents Do Not Display in a Style Sheet PRODUCT: Ami Pro 2.0 DATE: 03-Oct-1991 PROBLEM: The message "Cannot create temporary file for frame. Frame contents will not be displayed" appears when a specific style sheet file is used in a File / New operation. SOLUTION: If Style Management was used to move a modified style from a document to a style sheet or to change the function key assignments in a style sheet, or if the CHGFONT.SMM macro was used to modify a style sheet, graphics files in the style sheet will no longer display if the graphics files were imported with the Copy Image option selected. The error message "Cannot create temporary file for frame. Frame contents will not be displayed" displays when the style sheet is used. This error is an indication that the program cannot locate a graphic image. The error will occur when using such a style sheet for a new file or when an existing document which refers to such a style sheet is opened. Utilities are available from Lotus Development Corporation which will correct the modified style sheets so that the graphics will display when the style sheets are used. Any changes made with the CHGFONT.SMM macro or Style Management will be retained. One utility program can be used to correct individual style sheet files; the other utility program can be used to correct all style sheet files in a particular directory. The following describes these utilities: REPAIR.EXE Use this program to correct individual style sheets. Follow these instructions to use REPAIR.EXE: 1. Access the drive and directory where the file REPAIR.EXE is located: a. Type at the DOS prompt the letter of the drive followed by a colon (:). For example, if the files are located on a floppy disk in drive A, type at the DOS prompt: A: and press ENTER. b. If the file is in a directory, type at the DOS prompt: CD \DIRNAME and press ENTER. \DIRNAME should be the correct path to the directory. 2. At the DOS prompt type REPAIR X:\PATHNAME\STYLENAME and press ENTER. X:\PATHNAME should be the path to the styles directory (which is usually C:\AMIPRO\STYLES) and STYLENAME should be the name of the style sheet which needs to be corrected. For example, if the ~INVOICE.STY style sheet needs to be corrected and the styles directory is C:\AMIPRO\STYLES, type at the DOS prompt: REPAIR C:\AMIPRO\STYLES\~INVOICE.STY and press ENTER. FIXALL.BAT Use this batch file to correct all of the style sheets in a specific directory. Follow these directions to use FIXALL.BAT: 1. Access the drive and directory where the files FIXALL.BAT and REPAIR.EXE are located: Note: Both files must be in the same directory. a. Type at the DOS prompt the letter of the drive followed by a colon (:). For example, if the files are located on a floppy disk in drive A, type at the DOS prompt: A: and press ENTER. b. If these files are in a directory, type at the DOS prompt: CD \DIRNAME and press ENTER. \DIRNAME should be the correct path to the directory. 2. At the DOS prompt type: FIXALL X:\PATHNAME and press ENTER. X:\PATHNAME should be the path to the directory containing the Ami Pro styles that need to be corrected (this is usually C:\AMIPRO\STYLES). FIXALL.BAT will scan every file with an extension of .STY in the specified directory and make the necessary correction to all of the style sheet files which have been modified with Style Management or with the CHGFONT.SMM macro. These utilities are available electronically from the Lotus Word Processing division's bulletin board at 404-851-1371 and from the LotusWP forum, library 2, on CompuServe. Download the file FIXSTY.ZIP from both locations. The utilities can be obtained on disk by contacting the Lotus Word Processing Division's Customer Service department at 404-256-2272. Ask for the style sheet correction utilities.