Hallo,
ich versuche in InDesign CS3 und CS4 vergeblich Objektstile von einem Masterdokument zu importieren.
Mit folgndem Skript werden zwar Zeichen- und Absatzformate importiert, nicht aber Objektstile.
var myMaster = File('~/Desktop/ObjektStile.indd');
app.activeDocument.importStyles(ImportFormat.CHARACTER_STYLES_FORMAT, myMaster, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
app.activeDocument.importStyles(ImportFormat.PARAGRAPH_STYLES_FORMAT, myMaster, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
app.activeDocument.importStyles(ImportFormat.OBJECT_STYLES_FORMAT, myMaster, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
Hat jemand eine Idee, wie man das trotzdem hinbekommt (ohne dass man das Masterdokument öffnet, ein Objekt anlegt, diesem der Reihe nach alle vorhandenen Objektstile zuweist und per copy&paste ins vorher aktive Dokument kopiert).
edit:
Selbst der Import von präparierten Snippets schlägt fehl.
InDesign CS3 schmiert sofort und immer ab.
InDesign CS4 schmiert oft ab.