3 Replies Latest reply on Sep 9, 2008 1:58 AM by Loic.Aigon

    Print PS file in CUSTOM path

    hm_arul Level 1
      Hi scripters

      I want to create PS file my current document. Here is my script

      app.activeDocument.print(false);

      when I am executing this I am getting application print dialog box. Now what my problem is the Save PostScript File dialog box goes to default location. I want the change Save PostScript File dialog box path to activeDocument path

      If I work with print preferences

      myFile = new File("D:/1/test/test.ps" );
      document.printPreferences.printFile = myFile;
      app.activeDocument.print(false);

      This works well, but the print dialog box is not shown. So I ignored this way.

      How I can change the default path Save PostScript File dialog box? Kindly advice me

      Thanks

      regards
      a r u l