🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
4 messages
4 total messages Started by lpastor74 Wed, 18 Feb 2009 10:31
Creating INDD file from INX and visa versa
#1155
Author: 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 !?!
Re: Creating INDD file from INX and visa versa
#1165
Author: Rosemary Cantrell
Date: Wed, 18 Feb 2009 16:07
30 lines
3375 bytes
I'm a designer not a developer, so I'm not sure I'll be helping but
the normal behavior when opening an INX file is creates an untitled
.indd file.  This is is typical.  I'm not sure how you would
automatically rename back to what it was previously. Have you tried
packaging the indd file BEFORE you make the INX file?  Also InDesign
has the ability to embed the images in the file or link them to
external files. You might check to see if that is done, by checking
the links pallet.  Unfortunately I'm not following what you're
starting goal and end goal is.  I'll be helpless with the programming
end, but any questions regarding how InDesign would typically do it,
I'm happy to help with.

Rosie
Trying to learn scripting by osmosis (tucks her laptop under her pillow)

On Wed, Feb 18, 2009 at 4:31 AM, lpastor74 <member@adobeforums.com> wrote:
> A new discussion was started by lpastor74 in

> 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 !?!
>
> ________________________________
> View/reply at Creating INDD file from INX and visa versa
> Replies by email are OK.
> Use the unsubscribe form to cancel your email subscription.
>
>
Re: Creating INDD file from INX and visa versa
#1192
Author: lpastor74
Date: Thu, 19 Feb 2009 12:40
3 lines
878 bytes
thanks for replay

can I make a INDD file that contain all images? and when I create INX file form INDD here are the pictures? INX file is only XML.. so as I see there is no way to create INDD file form INX with file that will contain all used pictures?!?
Re: Creating INDD file from INX and visa versa
#1193
Author: lpastor74
Date: Thu, 19 Feb 2009 12:47
3 lines
663 bytes
PS :

I have some file with indb extension. What is this file used for?
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