Link to home
Start Free TrialLog in
Avatar of lorincha
lorinchaFlag for United States of America

asked on

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

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!


ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lorincha

ASKER

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.

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.
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.