• 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: InDesign relink and update picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Idea for better handling of mailinglists
  • Next by Date: Re: Idea for better handling of mailinglists
  • Previous by thread: Re: Idea for better handling of mailinglists
  • Next by thread: Changing the subject of a message
  • Index(es):
    • Date
    • Thread