Skip to main content
Participant
March 23, 2021
Answered

Perinate Document tabs for launching Acrobat

  • March 23, 2021
  • 1 reply
  • 948 views

Is it possible to perminately set one or more documents to always open in a tab(s) every time I launch Acrobat?

 

I have 3 documents that I would like to have open every time I open the Application, though I would be happy with just one of them. 

 

These are documents that I would never not open when I lauch Acrobat.

 

Basicly, I would like to do something simular to pinning a tab or setting a home location in a web browser.

This topic has been closed for replies.
Correct answer try67

I was hoping/assuming that this was just something Acrobat did natively and I was just not looking in the right place.  

 

I am not allowed (by my company) to access that folder.

Seriously, why even bother with tabs if not to be able to pin them....


There's another folder you can place it under:

C:/Users/<YOUR USER NAME>/AppData/Roaming/Adobe/Acrobat/Privileged/2017/JavaScripts

The AppData folder is hidden so you might have to enter it manually into Windows Explorer, and also if the JavaScripts folder doesn't exist then you'll need to create it yourself.

1 reply

try67
Community Expert
Community Expert
March 23, 2021

It's possible to do it with a simple script, but you'll need to place it in a specific folder of the application.

What's your version of Acrobat, and on what OS?

Aaren5CB6Author
Participant
March 23, 2021

Acrobat Pro 2017

Windows 10 Enterprise

try67
Community Expert
Community Expert
March 23, 2021

OK, then here's how you do it.

Create a new plain-text file (I recommend using Notepad++ for this) and enter the following into it:

 

app.openDoc("/C/Temp/File1.pdf");
app.openDoc("/C/Temp/File2.pdf");
app.openDoc("/C/Temp/File3.pdf");

You will need to adjust the file-paths to point to your actual files, of course, but keep the format I've used above.

Now save this file as a .js file (you can call it MyScripts.js) under the following folder:

C:\Program Files (x86)\Adobe\Acrobat 2017\Acrobat\Javascripts\

And that's pretty much it!

Restart Acrobat and those three files should be opened automatically.