saveAs in Mac
hi,
i trying saveas opened pdf in server. before sever address tried save file in desktop not working. 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 articles not able solve
https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
https://acrobatusers.com/tutorials/file-paths-acrobat-javascript
thanks,
k
what happens when run code? also, running it?
and app.closedoc(); not valid command. closedoc method part of document object. use instead:
this.closedoc();
if want know correct syntax file-path of specific file, open in acrobat , execute code in js console:
this.path;
it print out full path of current file, in syntax need use in code.
More discussions in JavaScript
adobe
Comments
Post a Comment