🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1155

Creating INDD file from INX and visa versa

#1155
From: lpastor74
Date: Wed, 18 Feb 2009 10:31
21 lines
1632 bytes
Hi

My task is to create a inx file from indd file and that was easy. I just use

var myDocument = app.open(File(sourceFileName));
//save INX
myDocument.exportFile(ExportFormat.INDESIGN_INTERCHANGE, File(destinationFilePath+".inx"));

but my problem is that I now have a more that one INDD file and one INDB file and client ask me to make INX file from it.
(I;m just a developer and I never use InDesigner application at all so is it possible? and how?

and than I have to form INX file create INDD file , text file and all Linking files in Links folder.

I found a

var myDocument = app.open(File(sourceFileName));
myDocument.packageForPrint(myLinkFolder, false, true, false, true, true, true, "", false);

but problem is that I got only INDD file and for some reason the newly create INND file has a name undifined_1.indd (I found that this is a file name that script foud from INX file ?!?) LInks file is empty.

Is it possible that he create package and put all eps file there !?!
Technical Details
Message-ID: <59b7f8d3.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6605a370e1950d66,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: lpastor74@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Creating INDD file from INX and visa versa
Message-ID: <59b7f8d3.-1@webcrossing.la2eafNXanI>
Date: Wed, 18 Feb 2009 02:31:15 -0800
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit