Copy link to clipboard
Copied
I am a novice with javascript.
I wonder if it is possible to save a pdf and open the save as... dialog screen.
I am splitting pdf's an must rename them.
what I am doing now is extract the page (with javascript) and manualy go to save as..
Copy link to clipboard
Copied
You can execute a menu item from within Javascript: https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/html2015/index.html#t=Acro12_MasterBook%...
That would allow you to open the Save As window, but you would not be able to populate any information on that dialog.
Copy link to clipboard
Copied
You can extract a page into a new document, and then save that new document in JavaScript. Take a look at these two API calls:
The "extractPages()" function actually has an optional parameter to save under a new filename.
Copy link to clipboard
Copied
This is what I am doing now.
I was hoping there is a way to open the dialog save as.. before the saving to a new document.
Copy link to clipboard
Copied
You can execute a menu item from within Javascript: https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/html2015/index.html#t=Acro12_MasterBook%...
That would allow you to open the Save As window, but you would not be able to populate any information on that dialog.
Copy link to clipboard
Copied
Thank you.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now