Solved

unknown format error when clicking on link to non pdf files in pdf document

Posted on 2006-11-17
4
761 Views
Last Modified: 2008-01-16
Good morning,

I am experiencing an issue when trying to open a various links that I have created in my pdf document.    These links go to various documents stored on our internal website.    

When double clicking on the link, the document appears to be downloading, and then another popup come up that says,

Error: Nothing Done (Error Code - Unknown Format | URL: http://xxxxxxx.xxx.com/xxxx/xxxx/xxx.doc)

NOTE: This error does not pop up when I click on a pdf document.   In fact, it appears to download and open the document within the pdf file itself.

Another point is that If I right click on the link, and select "Open Weblink in Browser" all my my links to various types of documents (Pdf, .doc, xls, etc.)  work correctly and load in a separate browser window.

Is there a way for me to make double clicking on the link open a browser window, instead of trying to open the document within the pdf file?    

Thanks for help!


0
Comment
Question by:lorincha
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 350 total points
ID: 17968264
You can convert your links to buttons that have a JavaScript action. In the JavaScript action you would then use the app.launchURL() function, which takes two parameters: The URL and a boolean that defines if the link should be opened in an external browser:
app.launchURL("http://xxxxxxx.xxx.com/xxxx/xxxx/xxx.doc", true);
0
 

Author Comment

by:lorincha
ID: 17968429
Just an FYI that I have minimal experience with Adobe Acrobat Professional and how to program for pdf documents and minimal experience with javascript.      

Also how do I convert a link to a button?  

Tools, advanced editing, button tool .....  from there I can highlight the link and then the button properties box comes up.  
Actions tab, then Click the add button .....

A new window comes up ...... I selected Advanced ---> Java Script --> the following options display

- Debugger
- Debug from start
- Edit all Java Script
- Document all Javascript
Set document actions

Are there any examples that you know of that would save me time in creating the java script .... if you could provide more detail I would really appreciate.   I will be happy to raise the point value as well.     Thanks again.

0
 

Author Comment

by:lorincha
ID: 17969350
Just an FYI that I will hold off on going further on the javascript suggestion.    I think this will take too much time for what I am trying to do and won't be necessary.    Please feel free though to post any additional information on this topic if you choose.

Thanks for the suggestion.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 17978656
YOu don't "convert" a link to a button (at least not automatically), you have to remove the link and create a button that is not shown on the UI. Here is how you would do it in Acrobat 7 (this assumes that you know how to remove the link):
Select "Tools>Advanced Editing>Button Tool"
Draw a rectangle on the PDF page where you want your "link" to be
A properties dialog will pop up
Select the "Appearance" tab and click on the "Fill Color" button. Select "No Color"
You can select a border color so that you can see where your links are (e.g. blue).
Click on the "Actions" tab
set "Select Action" to "Run a JavaScript"
Click on teh "Add" button
An editor window is opened
Type the following command:
app.launchURL("http://www.adobe.com", true);
Close the dialogs until you are back at your document
Select the Hand tool (the hand symbol on the toolbar)
Now you will see your link on the document, when you click on it, a new browser window will open.





0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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…
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 third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now