Copier le lien dans le Presse-papiers
Copié
Hello everyone,
I have many tabs opened (32 tabs ) and I am using Adobe Acrobat Reader version 2023.006.20380.
I need to save all the 32 tabs separately into new folder, kindly, could you guide on the steps...
Thank you
Copier le lien dans le Presse-papiers
Copié
Try copying the files to the local computer and run it on them from there, just so we could narrow down the issue.
Copier le lien dans le Presse-papiers
Copié
This can be done using a script, but in order to be able to do that you would need to first open the JS Console, which is not trivial to do in Reader. Is this a one-time thing, or something you need to do from time to time?
Also, the folder will have to exist in advance. The script can't create it for you.
If you only need to do it once I would just do it manually.
Copier le lien dans le Presse-papiers
Copié
Hi @try67 ,
Thank you for your reply, a couple of questions please:
1. How to open JS Console?
2. Currently, I need it for this time, but what if I need it in the future (most likely, yes)?
3. What is the script and where should I write it?
Thank you,
Copier le lien dans le Presse-papiers
Copié
1. I actually came up with an easy way to do it... Just open the attached file and click the button.
2+3. You can do it using this code:
var targetFolder = "/C/Temp/Files/";
for (var i in app.activeDocs) {
if (app.activeDocs[i].documentFileName=="Show JS Console.pdf") continue;
app.activeDocs[i].saveAs(targetFolder + app.activeDocs[i].documentFileName);
}
To run it, paste the code into the JS Console window, select all of it (using the mouse or keyboard) and press Ctrl+Enter. You can edit the first line of the code to point to a different folder path, but make sure to use the same file-path syntax I've used in the code above.
Edited: forgot the attachment...
Copier le lien dans le Presse-papiers
Copié
Copier le lien dans le Presse-papiers
Copié
Do you have a folder created under C:\Temp\Files\ ?
Copier le lien dans le Presse-papiers
Copié
There was no folder named Temp in C Drive, I created a folder named Temp and inside Temp, I created another folder named Files ( as in the attached picture below),
then I used the exact code as you wrote without any changes, is this correct?
Copier le lien dans le Presse-papiers
Copié
Yes, that is correct. Do any of your files have a comma in their file-name, by any chance?
Also, I see the error is about a network... Are they located on a network drive?
Copier le lien dans le Presse-papiers
Copié
-there no commas in any of the files,
-Yes, files are located on network drive, will that cause a problem? if so, how to solve it?
Copier le lien dans le Presse-papiers
Copié
Appearantly it does. Not sure why, or how to solve it...
Copier le lien dans le Presse-papiers
Copié
When I run the code, in the first cople of seconds, it tried to read the first file name then it stopped and the previous error message appeard.
Copier le lien dans le Presse-papiers
Copié
Try copying the files to the local computer and run it on them from there, just so we could narrow down the issue.
Copier le lien dans le Presse-papiers
Copié
I moved them to the Desktop and it worked,
Thanks indeed dear friend,
really appreciated,
Copier le lien dans le Presse-papiers
Copié
Copier le lien dans le Presse-papiers
Copié
This doesn't save the documents.
Copier le lien dans le Presse-papiers
Copié
@Betty341091642vdy
thank you for your reply but I am using Adobe application on windows
Copier le lien dans le Presse-papiers
Copié
Just want to add that all the 32 pdf documents tabs are using Adobe Acrobat Reader version 2023.006.20380 apllication not the browser...
Trouvez plus d’idées, d’événements et de ressources dans la nouvelle communauté Adobe
Explorer maintenant