Skip to main content
Participant
October 14, 2021
Question

FM 2019 Structured Doc Opens, Then Disappears

  • October 14, 2021
  • 2 replies
  • 221 views

When I open a FM book and its files, the file page is viewable momentarily, and then disappears, leaving only a white page. If I select any menu item, for example: View > Options, the View Options window pops up and the page behind it displays normally. When I close the View Options window, the page disappears again. This only happens on my laptop. The same FM book and its files opens without issue on other laptops. The day before yesterday, I had no problem. What could cause this sudden issue or conflict?

This topic has been closed for replies.

2 replies

Community Expert
October 15, 2021

Hi,

 

Yes. Test Rick's ExtendScript script!

Do you encounter this issue with all your files or only with the files of a specific book?

Does it make a difference, how you open the file? Via the book file or menu or double-click in your file manager?

Does CTRL+L (Refresh) do anything?

Can you place the insertion mark in the invisible file and select text?

 

Best regards

 

Winfried

frameexpert
Community Expert
Community Expert
October 14, 2021

Have you installed any scripts or plugins recently. Some scripts and plugins will turn off the document display in order to speed up their operations. If the display is not restored correctly, for example, if the script crashes, you will see the white screen.

 

Here is a way to test it: copy the code below into a plain text file with a .jsx extension and save it to the Desktop. Open your document and choose File > Script > Run and select the script. See if that restores the document display. If it does, the next step is to figure out what is turning it off.

#target framemaker
var doc = app.ActiveDoc;
if (doc.ObjectValid () === 1) {
    if (app.Displaying === 0) {
        app.Displaying = 1;
        doc.Redisplay ();
    }
}