Embedding a link is easy :
so you can do something like
Apart from that if you want to have automatically done for every single placed file, you would have to set an afterPlace eventListener.
ah, you remember that old PageMaker "feature"…
No there is nothing there with InDesign.
Embedding a placed image is easy.
Just use the method unlink() with the link of the placed image.
You could also do the contrary with method unembed() of a link.
You will get the link of a placed image with image.itemLink .
Look it up here:
// Loic was faster… :-)
That sort of confirms my thoughts. I do use the unlink function elsewhere and it does it's job as expected. I was hoping to speed up a current task I have, and if I could have the data embedded in the indd doc as the image was being placed it may have helped my cause.
It would be hard going into the "why's" here, just trust me!
An after place listener would not help me in my weird requirement!
Thanks anyway mate
It's a shame that feature is not in InDesign as it was in PageMaker. I used it alot!
back then that feature of PageMaker was a burden to me.
I don't miss it with InDesign.
But back to your problem with "after place".
Look also into "beforePlace" to get valuable info out of the registered event.
Check event.target for available properties and values.
Whatever your "weird requirements" are…