Re: How to fix modified links in InDesign CS3
Re: How to fix modified links in InDesign CS3
- Subject: Re: How to fix modified links in InDesign CS3
- From: "Stockly, Ed" <email@hidden>
- Date: Tue, 06 Oct 2009 10:04:15 -0700
- Thread-topic: How to fix modified links in InDesign CS3
Try something like this:
tell application "Adobe InDesign CS2"
tell document 1
set allLinks to every link whose status is link out of date
repeat with thisLink in allLinks
update thisLink
end repeat
end tell
end tell
HTH,
ES
On 10/06/09 8:11 AM, "Bert Groeneveld" wrote:
> Hello, when talking to Adobe InDesign CS3:
>
> Is there an Applescript way to do a check if an InDesign document
> contains modified links and if yes update all the modified links?
> Can Anyone post example code?
>
>
> Background info:
> I developed an Applescript that automates page lay-outing with
> InDesign CS3.
> One of the things (among many other things) my script does is dragging
> items onto the page out of an InDesign library. The items in the
> library are sometimes groups that contain linked files. When the page
> is ready, the script saves the InDesign document to disk.
> So far so good.
>
> Here comes the strange thing: When I check the finished InDesign
> document, every now and then on a very irregular base I see yellow
> triangles in the Link pallet meaning that the link to an external file
> (that is inside a group that was dragged out of the library) was
> modified. This is a random problem.
> Isn't this strange: When a libItem is used twice on a page, the first
> instance has a modified link and the second one not.
> So I thought it was a good idea to implement some commands in my
> script that fix modified links (if any) just before the document is
> saved.
>
> Thanks for any help.
> Bert.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to 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