Skip to main content
cyriln53424740
Known Participant
April 12, 2019
Question

Images need to be relinked after opening document

  • April 12, 2019
  • 1 reply
  • 354 views

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

This topic has been closed for replies.

1 reply

cyriln53424740
Known Participant
April 26, 2019

Hi,

Can you try the script ?

Have you the same result as me ?

I don't know if it's a bug or juste a wrong configuration of indesign server application...

Thank you.

Cyril