• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Globally change URL path in PDF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Globally change URL path in PDF


  • Subject: Re: Globally change URL path in PDF
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 21 Sep 2009 18:34:18 -0400

I think Adobe Acrobat may be scriptable.  Of course, it's not free.
The problem with free PDF tools is they tend to be limited in the
documents they can handle successfully; it's easy to find PDF's that
cause them to blow up.

One option is the Perl module CAM::PDF, which comes with an example
program showing how to use the library which does a global search and
replace on a pdf doc.

First, run "sudo cpan CAM::PDF" from the Terminal to install the
module.   then you can just do

/usr/local/bin/changepdfstring.pl oldfile.pdf oldstring newstring newfile.pdf

 Worth a shot anyway.

On Mon, Sep 21, 2009 at 3:20 PM, Nigel Heinsius <email@hidden> wrote:
> I have a 15 page PDF full of link URLs that point to the same directory folder on a web server.
>
> My client has just moved this folder to another location and deleted the old one at the old location.
>
> Is there any way to Applescript the process of globally changing every path of the URLs contained in my document? I looked at the structure of the PDF in script debugger and it appears that the annotation link property is not writable.
>
> Am I missing something? Has anyone done this before?
>
> Nigel Heinsius
> Lead Web Publisher
> Creative Communications
> Box 359000
> 3900 7th Ave NE
> Seattle, WA 98195-9000
> PH: 206-543-2497
> FAX: 206-685-3411
> www.creatcom.washington.edu
>
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Globally change URL path in PDF (From: Nigel Heinsius <email@hidden>)

  • Prev by Date: Re: apple script and Final Cut Pro
  • Next by Date: Help with Xtags and Quark 8, please.
  • Previous by thread: Re: Globally change URL path in PDF
  • Next by thread: re: Globally change URL path in PDF
  • Index(es):
    • Date
    • Thread