InDesign relink and update picture
InDesign relink and update picture
- Subject: InDesign relink and update picture
- From: Håvard Graudo <email@hidden>
- Date: Tue, 13 Nov 2007 16:46:39 +0100
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?
Håvard
_______________________________________________
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