No, there isn't any script. This happens with multiple doc files that are created from Word. I think the setting, preferences > Documents > Restore last view settings when reopening documents, is about the view of a document when opened again and not about the menu bar. This is what it turns out to be, and this is what I want it to be,
... View more