Skip to main content
Known Participant
August 12, 2023
Question

scripting - guide for data transfer

  • August 12, 2023
  • 2 replies
  • 172 views

Hi all,
Let's consider, I have two different documents with data.
That data [object] should transfer one document from another document using scripting.

                                                                              - Thanks

This topic has been closed for replies.

2 replies

Robert at ID-Tasker
Legend
August 12, 2023

Can you be more precise what do you want to move between documents? 

 

Community Expert
August 12, 2023

There are several methods that you can look at to copy different data from one document to another. Some of them are

  • importStyles
  • loadMasters
  • loadSwatches

Then we have methods like move that is present on page, layers object using which you can move the object from one document to another

Checkout the DOM documentation to look for details on these methods and find other such methods.

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Application.html

If you have any specific use case to discuss let us know about that.

-Manan

-Manan