Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
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 sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

705 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

19 Experts available now in Live!

Get 1:1 Help Now