[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Acrobat & InDesign create pdf files with links that grab an open browser window

Posted on 2006-11-13
5
Medium Priority
?
3,393 Views
Last Modified: 2012-06-27
I use InDesign 4.0.4 to create files and then export to pdf. When I the open the pdf file and click on  with link, it  grabs an open browser window, e.g., my web email. I want it to open a new window. My understanding is that there should be a place in InDesign to specify "target=_blank", but I can't find it. How do I specify in InDesign that the links should open new windows?

In Acrobat 7.0, I can use Advanced>Links>Create from URLs to create links in a pdf document (exported from InDesign), but those links also grab an open window. How do I specify in Acrobat that the links should open new windows?  
0
Comment
Question by:ngoldfarb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 1500 total points
ID: 17932633
"target=_blank" is a feature of a web browser. Acrobat (or Reader) is not a browser and does not support this function. You can - with some JavaScript to accomplish the same. Create your "link" not as a link, but as a button, and assign a JavaScript action to it. The method app.launchURL() has two parameters, the first one is the URL, and the second one is a boolean that indicates if a new browser window shoudl be launched. It's default is false, so you need to specify it and set it to true:

app.launchURL("http://ww.experts-exchange.com", true);

0
 

Author Comment

by:ngoldfarb
ID: 17932743
OK, I think I've figured out the problem. This problem occurs only when the document is not displayed in a browser, so it is not a problem.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 17932927
Actually, you still may have a problem: There is a preference setting that determines if a link should be opened in Acrobat (or Reader), or an external browser window. Depending on this setting, you may also run into the same problem even when the PDF is displayed in the browser.
0
 

Author Comment

by:ngoldfarb
ID: 17933091
The setting is specific to the user and the results should not come as a surprise, right?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 17933150
Correct. But if you want a certain behavior (which may not be the case for your application), you need to consider that.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Acrobat’s JavaScript is a great tool to extend the application, or to automate recurring tasks. There are several ways a JavaScript can be added to the application or a document (e.g. folder level scripts, validation scripts, event handling scripts,…
Getting information about Fonts being used in a PDF file A colleague of mine recently faced an issue related to the PDF file format. The PDFs were containing mission critical client information, they were successfully mailed but there was a sm…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question