Solved

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

Posted on 2006-11-17
4
764 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
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) …

777 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