Images need to be relinked after opening document
Hi everyone,
I have a problem with links in a document.
I have created a script like this :
Set Id = CreateObject("InDesignServer.Application.CC.2018")
Set doc = Id.Documents.Add
Set Page = doc.Pages.Item(1)
Set rect = Page.Rectangles.Add
rect.GeometricBounds = Array(10, 10, 50, 50)
rect.Place "D:\rose-blue-flower-rose-blooms-67636.jpeg"
doc.Save "D:\test.indd"
doc.Close
The problem is if a open this new document, the image is not really linked (as you see on the screenshot).
The image preview is not shown. masks can't be used, etc...
It's a real problem for my client who wants to see images at opening.
If i use this script with indesign cc 2018 desktop, it works.
Do you have an idea ?
Thank you.
Cyril
