?
Solved

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

Posted on 2006-11-13
5
Medium Priority
?
3,398 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
  • 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 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