Previous | Next | (P-PDF) Acrobat 6.0
Topic: Change link action
Conf: (P-PDF) Acrobat 6.0, Msg: 160932
From: EmsOne
Date: 6/27/2007 05:07 AM
Hello,
i'm using Acrobat Professional 6 on a WinXP machine.
I need to adjust some links of a web capture pdf to get it work in a local environment. The source html document contains links to files which need a special application to be opened. A browser will ask the user to download the file by clicking on the link on the web page. But once converted to pdf, there only occurs an error message. By setting the preferences in acrobat viewer to 'open links with browser', the problem can be solved (cause the browser asks again for saving the file or opening with assigned application), but i need a solution which is not dependent on the settings in the users adobe viewer.
The syntax of the link is the following: 'file:///path/filename.ext', which is not the correct syntax for telling the acrobat viewer to open the specified file with an external application. The correct syntax would be: 'File: path\filename.ext'. So i'd like to change this, but beside the manual way via the advanced editing tools i can't find anything appropriate. There seems to be no way to read the incorrect link action with javascript, so that I can change and write it back with the setAction method.
Is there any other way to solve this problem???
Maybe it's even possible to tell the pdfmaker to convert the links 'correctly' in the web capture phase already.
Any suggestion/help is highly appreciated!
Thanks in advance.
EmsOne