inDesign Import layers via Applescript
Is it possible via Applescript to import specific layers from an Indesign into another? I don't need to create the layers in InDesign. Basically, if the ID template contains 5 layers & I need only layers 3 & 4 to be imported into my document.
tell application "Adobe InDesign CC 2017"
tell document 1
-- I'm not sure if can be done or not
end tell
end tell
The other idea I have will be to hide the layers I don't need from the template & leave the ones I need, select all & then copy into my document. Any thoughts?
I found a javascript in another site that kind does I what I need but I would like to use Applescript since I know a little bit about it
Thank you
