Re: INDESIGN: Hyperlinks Question
Re: INDESIGN: Hyperlinks Question
- Subject: Re: INDESIGN: Hyperlinks Question
- From: Matt Deatherage <email@hidden>
- Date: Tue, 2 Dec 2008 07:02:58 -0600
On 12/2/08 at 7:06 PM, Shane Stanley <email@hidden>
wrote:
> One thing to keep in mind is that deleting a hyperlink does not
> delete the related hyperlink destination, so a document can end up
> with lots of "orphan" hyperlink destinations. This is common in
> docs that have had Word documents containing hyperlinks imported
> into them; I found 238 in one the other day...
We often create new issues of MDJ and MWJ in InDesign by starting
with the last issue file and deleting the content, because it's
easier than updating a template when we're under pressure. After
deleting the old content, we run this script to delete all hyperlink
destinations that aren't part of the template (that is, that link to
our own site):
tell application "Adobe InDesign CS3"
tell document 1
delete (every hyperlink URL destination whose ¬
destination URL is not "http://www.macjournals.com/")
end tell
end tell
It's titled "Zap all hyperlink destinations" for just that reason,
so run with care.
--Matt
--
Matt Deatherage <email@hidden>
GCSF, Incorporated <http://www.macjournals.com>
"People say the glass is half full, but they don't say of what."
-- Sourpuss, "Dilbert," 2005.12.10
_______________________________________________
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