18 Replies Latest reply on Oct 26, 2016 3:24 PM by gkaiseril

    saveAs in Mac

    tpk1982 Level 4

      HI,

       

      I am trying to saveAs the opened pdf in my server. Before the sever address i tried to save the file in desktop but it is not working. Could you please suggest me?

       

      this.saveAs("/Macintosh HD/Users/kk/Desktop/xxxxx.pdf");
      app.closeDoc();
      

       

       

      another method:

       

      this.saveAs("~/\Desktop/\/xxxxx.pdf");
      app.closeDoc();
      

       

       

      I read this articles but not able to solve

       

      https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

       

      https://acrobatusers.com/tutorials/file-paths-acrobat-javascript

       

      Thanks,

      K