5 Replies Latest reply on Jul 22, 2008 10:37 AM by (Olav_Kvern)

    [CS2][JS] Map tags to styles

      Hi

      I would like to map styles to tags and map tags to styles using a predefined file....

      I've tried using ...

      var thepath="/Volumes/test/Mapping.indd";
      var myImportfile=new File(thepath);

      app.activeDocument.xmlImportMaps.add(myImportfile);
      app.activeDocument.xmlExportMaps.add(myImportfile);

      ... but it raises an error... missing parameter...

      Does anyone have an idea?

      Thanx

      Tim