Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

Saving multiple opened tabs separately into new folder

Community Beginner ,
Jan 12, 2024 Jan 12, 2024

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

TOPICS
How to
6.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jan 13, 2024 Jan 13, 2024

Try copying the files to the local computer and run it on them from there, just so we could narrow down the issue.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

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, 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

It shows this error @try67 

Aows_0-1705145160450.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

Do you have a folder created under C:\Temp\Files\ ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

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? 

Aows_0-1705146176630.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

-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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

Appearantly it does. Not sure why, or how to solve it...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

Try copying the files to the local computer and run it on them from there, just so we could narrow down the issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024
LATEST

I moved them to the Desktop and it worked,
Thanks indeed dear friend,

really appreciated,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 13, 2024 Jan 13, 2024

Bookmark All Tabs:

  • Right-click on any of the tabs.
  • Select "Bookmark All Tabs."
  • Choose a location (either an existing folder or create a new one) to save the bookmarks. @Aowshouse@Aows
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 13, 2024 Jan 13, 2024

This doesn't save the documents.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

@Betty341091642vdy 
thank you for your reply but I am using Adobe application on windows

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2024 Jan 13, 2024

Just want to add that all the 32 pdf documents tabs are using Adobe Acrobat Reader version 2023.006.20380 apllication not the browser...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines