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

Force links in PDF document to open in new tab or window for all viewers

New Here ,
Apr 29, 2022 Apr 29, 2022

I have a 45 page PDF report in which I've created several links to pages in the document and attachments.

I've discovered how to force the links to open in a new tab (in Preferences) for me but when the document is opened by others the link opens in the same window as the document requiring them to open the document again to continue reading.

Is there any way of forcing links to open in a new tab or window for everyone regardless of their Preference settings?

TOPICS
How to
15.4K
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 ,
Apr 29, 2022 Apr 29, 2022

For some links you can specify this in properties of the links.

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
New Here ,
Apr 29, 2022 Apr 29, 2022

Excellent. I was able to specify the action for the links to be "Open in: new window" That's resolved the issue.

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
New Here ,
Jul 23, 2024 Jul 23, 2024

Where did you add or select "Open in: new window", please? I don't see that option anywhere. I have Acrobat Pro via my company's Creative Cloud account. 

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
New Here ,
Feb 06, 2025 Feb 06, 2025
LATEST

i don't think that option is available now

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 ,
Apr 29, 2022 Apr 29, 2022

Place this script as Document level script to change user's preference.

app.openInPlace = false;

 

 


Acrobate du PDF, InDesigner et Photoshopographe
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
New Here ,
Apr 29, 2022 Apr 29, 2022

I'm always willing to learn new ways of doing things but have no experience of this type of thing.

I looked at your link but couldn't work out where 'd put the script.

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
New Here ,
Feb 13, 2023 Feb 13, 2023

fabulous indeed. well done.

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 ,
May 02, 2022 May 02, 2022

Capture_353.png


Acrobate du PDF, InDesigner et Photoshopographe
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
New Here ,
Aug 09, 2022 Aug 09, 2022

hi Guys - I have Index.pdf which has hyperlinks to other pdf files ( A.pdf  B.pdf C.pdf etc) in the same folder.. when i click the link for A.pdf - both Adobe Reader and Adobe Pro close the index.pdf and open A.pdf in its place.

I do not want index.pdf to be closed, but have A.pdf , B.pdf , C.pdf to open in new tab or new window

 

is there a way to change behaviour of all hyperlinks in a PDF ?

 

I have used a create custom linsk from text Java tool

 

please help

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
New Here ,
Jul 23, 2024 Jul 23, 2024

Hi, I have the same question but unfortunately the answer hasn't helped. I need an idiot proof guide please, I'm using the latest version of Acrobat 2024, which looks different to the answer below.
Thanks in advance!

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
New Here ,
Oct 02, 2024 Oct 02, 2024

Hey Tessat,

JR gave me just enough information to get it sorted out between this post and another one he provided.

  1. Open PDF, look for All tools list and expand.

   Gene77_0-1727914143260.png

2. Click Use JavaScript.

   Gene77_1-1727914301250.png

3. Click on Document javascript strings.

4. Name your script and click Add.

5. In the Create and Edit JavaScripts field place the following:

        var a = app.openInPlace;
        app.openInPlace = false;

        Gene77_2-1727914854168.png

6. Click Ok and then Close to exit editor.

7. Click on Document actions.

8. Select Document Will Close and click Edit.

9. In the Create and Edit JavaScripts field place the following:

        app.openInPlace = a;

        Gene77_3-1727914918815.png

10. Click Ok and then OK to exit editor.

 

Now, save your document and it should now open links in the main PDF in new tabs.

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
New Here ,
Oct 15, 2024 Oct 15, 2024

I'm trying to do the same and have followed your instructions but the links are still not opening in a different window on the text links or buttons. Any ideas?

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