Answered
Does Indesign support background silent opening?
I tried to retrieve the paragraph style name of another document without opening it.
I searched online for this:
//The second parameter false=not placed before, and the third parameter true=dontPlace (opened in the background)
var doc = app.open(File("/path/to/file.indd"), false, true); It seems like there's only one like the following:
//Skip missing word check
var doc = app.open(File("/path/to/file.indd"), false);
