lohriialo/indesign-scripting-python

Any way to avoid missing references when opening InDesign Document

alexberd opened this issue · 1 comments

Is there any way to avoid the missing references error message when opening a InDesign Document?
https://github.com/lohriialo/indesign-scripting-python/blob/master/OpenDocument.py
image

With javascript, is:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
see: http://jongware.mit.edu/idcs6js/pc_ScriptPreference.html
So it maybe:
app.ScriptPreferences.UserInteractionLevel = 1699640946 # UserInteractionLevels.NEVER_INTERACT