Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 799
  • Last Modified:

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!


0
lorincha
Asked:
lorincha
  • 2
  • 2
1 Solution
 
Karl Heinz KremerCommented:
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
 
lorinchaAuthor Commented:
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
 
lorinchaAuthor Commented:
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
 
Karl Heinz KremerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now