Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by Ben_J.D
Thu, 08 Jan 2009 10:16
[JS :: CSX] DataMerge - mergeRecords()
Author: Ben_J.D
Date: Thu, 08 Jan 2009 10:16
Date: Thu, 08 Jan 2009 10:16
13 lines
1349 bytes
1349 bytes
Hi folks, I am building a script that uses the mergeRecords() function which is a part of the DataMerge object. This function creates a new document which contains a range of records based on the data of a data merge data set. I have noticed that this new document which the mergeRecords() function creates is created with its showingWindow option set to true. I would prefer this be false. Is there any way to set this option manually. I can not see a showingWindow propert listed for the Document object. The other thing i tried was to close the document window via: app.activeDocument.windows.everyItem().close(); However this produces the error: Can't close last document window. Close the document instead. Does any one know how i might keep this documents window hidden?
Re: [JS :: CSX] DataMerge - mergeRecords()
Author: Peter Kahrel
Date: Thu, 08 Jan 2009 10:54
Date: Thu, 08 Jan 2009 10:54
3 lines
760 bytes
760 bytes
app.layoutWindows.everyItem().minimize() Peter
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads