Re: InDesign relink and update picture
Re: InDesign relink and update picture
- Subject: Re: InDesign relink and update picture
- From: Tom Lotzer <email@hidden>
- Date: Sat, 1 Dec 2007 06:40:56 -0600
At 4:46 PM +0100 11/13/07, Håvard Graudo wrote:
Can I relink a picture in InDesign and update it in one go?
I have a script that insert pictures. If there is a picture in the
box, properies are kept and my script will:
tell document 1 of application "Adobe InDesign CS3"
relink thisItemLink to someFileReference
update thisItemLink
end
The undo-buffer will read: undo update, undo relink [...]
That is correct, but to the user, running the script is considered
"one operation", and may be undone. However Command-Z will undo
only the 'update' and keep the 'relink'.
To the user the undo seems successfull - the preview changes back
to the original picture, but the link is still pointing to the
undone file, and will be silently replaced at next update. (Undo
twice works, but is not ideal.)
Can I get this done i one undoable command?
I'm not sure, but could your script watch Indesign for an undo from
the user, then send an extra undo to Indesign?
========================
= Thomas Lotzer =
=======================
><((((º>·´¯`·:.· ><((((º>¸¸.·´¯`><((((º>
_______________________________________________
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