Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to avoid missing references when opening InDesign Document #10

Open
alexberd opened this issue Jan 29, 2021 · 1 comment
Open

Comments

@alexberd
Copy link

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

@mlove4u
Copy link

mlove4u commented Feb 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants