I am trying to import the colour swatches from an other file into the current document.
I was hoping this would be just like importing Par or Char Styles...
... app.activeDocument.importStyles(_theFormat_, sourceFile, importPolicy);
But I have so far had no luck.
Can anybody give me some hints.
Thank you very much
I must have overcomplicated things a bit.... this worked fine.
Can you please try the below JS code, The code is just import the swatches from the desktop document onto the active InDesign document.
var myColorDoc = new File("~/Desktop/color.indd"); app.activeDocument.loadSwatches(myColorDoc);