2 Replies Latest reply on Oct 31, 2012 1:29 AM by Nicolas3448

    Export for web problem




      I have a problem with the export for web and device. I use this script :


      var vOptions = new ExportOptionsSaveForWeb();

      vOptions.format = SaveDocumentType.JPEG;

      vOptions.quality = 90;

      myPsDoc.exportDocument(vFile, ExportType.SAVEFORWEB, vOptions);


      All works fine except if before use this script, I export manually for web and device, and choose "HTML" or "HMTL and images" on format list. After that, when I execute my script, I have the html file (or html file and image file in folder) and not the image.


      How can I override this settings ?


      Thank you for your help.