Make layercompositions targetable with scripting
I want to change my applied alpha-mask (psd/tif).
What I have to do is browse to the image, reimport it (with import options true), just to select another alpha mask.
While scripting this, I found out, that the DOM is missing the layercomps. If a layercomp was set in InDesign away from default, re-importing a image by script will losse the selected layercomposition.
Uwe Laubender commented
This is one of the features of InDesign, that are available in the UI, but still cannot be scripted. An omission, that should be rectified.