scripting:api:application:update-all

UpdateAll

Method of IApplication

Update all open documents

Application.UpdateAll();
Application.UpdateAll
HRESULT hr = Application.UpdateAll();