Creating INDD file from INX and visa versa

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 !?!

I'm a designer not a developer, so I'm not sure I'll be helping but<br />the normal behavior when opening an INX file is creates an untitled<br />.indd file.  This is is typical.  I'm not sure how you would<br />automatically rename back to what it was previously. Have you tried<br />packaging the indd file BEFORE you make the INX file?  Also InDesign<br />has the ability to embed the images in the file or link them to<br />external files. You might check to see if that is done, by checking<br />the links pallet.  Unfortunately I'm not following what you're<br />starting goal and end goal is.  I'll be helpless with the programming<br />end, but any questions regarding how InDesign would typically do it,<br />I'm happy to help with.<br /><br />Rosie<br />Trying to learn scripting by osmosis (tucks her laptop under her pillow)<br /><br />On Wed, Feb 18, 2009 at 4:31 AM, lpastor74 <[email protected]> wrote:<br />> A new discussion was started by lpastor74 in<br /><br />> but problem is that I got only INDD file and for some reason the newly<br />> create INND file has a name undifined_1.indd (I found that this is a file<br />> name that script foud from INX file ?!?) LInks file is empty.<br />><br />> Is it possible that he create package and put all eps file there !?!<br />><br />> ________________________________<br />> View/reply at Creating INDD file from INX and visa versa<br />> Replies by email are OK.<br />> Use the unsubscribe form to cancel your email subscription.<br />><br />>

Similar Messages

  • HT204053 I have multiple devices used by family members, how do you make sure the kids don't see Moms messages from Dad and visa versa?

    I have multiple devices used by family members, how do you make sure the kids don't see Moms messages from Dad and visa versa?

    Hi Roger:
    Thanks for the reply.  I think I figured out the problem.  Apple has confused (at least in my mind) the different IDs that people can have.  In the iCloud settings, they use the term Apple ID and not iCloud ID.  I guess there really is no such thing as an iCloud ID.  There are Apple IDs with various attributes.  This is not clearly explained or easy to see (how could I look up to see if my Apple ID is associated with iTunes for example?).
    I created, what I thought were iCloud IDs for each family member, but we all use my Apple ID for iTunes.
    One other question - why does the syncing of Notes using iCloud require an @me.com email account.  That makes no sense to me.
    Thanks for your help!
    AO

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • Calling HTML file from servlet and vice versa...

    i have got few questions..
    1- if a site is made in HTML then what should be used to put user login functionality in it, servlets or jsp or other option(specify)?
    2- im trying to do with servlets, so when im calling doPost method from HTML page and sending data, everything working fine but because of this the page refreshes and the HTML coding get lost, so how can i stop that from happening if possible, like showing the same page with messege = "Logged in".
    3- how can i call an HTML page from servlet?
    4- how can i send data from servlet to HTML page?

    that i m aware of, but when a servlet is called then the page will refresh n it will display the things that you have mentioned in the servlet file n not the things that u have mentioned in HTML file, n the page will be blank if u have not mentioned any HTML coding in servlet file.
    so i need to knw how to call back that prev HTML file so that the things i want to display can be displayed, i knw the same can be done by adding the HTML code in servlet file but i would like to know if there is any way to call back the HTML file.

  • Mac is not reading address book from iCloud and visa versa

    My icloud is not synching ADDRESSBOOK with my mac, I have tried all the solutions in apple support.  Any ideas?

    Sorry, I don't have an answer for you (and it seems no one else does, either ), but I did want to say how pathetic the group texting features are in iOS 6. Apple, get off your backsides and get us some decent features here. The Android developers are not sleeping. Why are you?

  • Files from mac to RDC and visa versa

    I am trying to copy and paste folders from my macbook pro to my RDC and visa versa.Unfortuantly i am not having any luck does anyone have an idea how to do this i am a bit of a beginner on this stuff.cheers

    That does not work unfortunately, just extend one of your Mac folders to the RDC destination and you can transfer files simply by putting them in the folder:
    Thus:

  • Which Acrobat or Adobe product is best to subscribe to for converting Word files (all types) to pdf files and visa versa?

    Which Acrobat or Adobe product is best to subscribe to for converting Word files (all types) to pdf files and visa versa?
    Thank you!

    Probably PDF Pack: Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack

  • I want my Mac book to synchronise with my Mac mini, and visa versa, so that I can work on either computer knowing that everything i do will be accessible from either computer - do i need to buy os x server to do this or is there a different way?

    I want to know that if I create a document on my macbook it will be available on my mac mini and visa versa, is there an easy way of making two computers synchronise.
    Currently my older mac book contains loads of old documents that I transferred to my mac mini via the apple migration software when I bought my mac mini but unless I always create documents on my mac mini I start to work between computers that makes it very confusing and difficult to manage.
    Thanks

    Turn on file sharing. If they are both on your wifi network you can share via wifi. Or set up an ethernet connection between the two machines.
    Mac Basics: File Sharing - Apple Support
    Hope this helps.
    PJRS

  • How do i Drag and drop From one tree to another and vise versa?

    I have two tree structures and i'm trying to drag a leaf of a branch from one tree to another and vise versa. i'm using flex 3 to code it. I'm also trying to put a prevention on dropping a leaf of one tree from being dropped inside a branch of another tree. Anything that is dragged over to another tree should be placed as a dangling node in that tree. Please share this code and help me find a solution.
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="
    http://www.adobe.com/2006/mxml" xmlns:comp="
    com.adobe.flex.extras.controls.*" initialize="data2
    new
    ArrayCollection(countries);"layout="
    absolute"verticalAlign="
    middle" backgroundColor="white" height="
    551">
    <mx:Script>
    <![CDATA[
    importmx.events.FlexEvent; 
    importmx.collections.ArrayCollection; 
    importmx.controls.Alert; 
    importmx.events.DragEvent; 
    importmx.managers.DragManager;  
    importmx.core.DragSource;  
    importmx.core.UIComponent;  
    importmx.controls.Tree;  
    // data provider for role name[
    Bindable] private vardata2: ArrayCollection; 
    // variable to store the node that is dragged from a tree 
    private var draggedItemOfAccessTree:XML = null;  
    private var draggedItemOfExclusionTree:XML = null; 
    private var dragItemAccess:DisplayObject =null; 
    private var dragItemExclusion:DisplayObject =null; 
    // Array to store the Role list[
    Bindable]public varcountries: Array = [{id: 0, name:
    "Role 1"},{id: 1, name:
    "Role 2"},{id: 2, name:
    "Role 3"},{id: 3, name:
    "Role 4"},{id: 4, name:
    "Role 5"},{id: 5, name:
    "Role 6"},{id: 6, name:
    "Role 7"},{id: 7, name:
    "Role 8"},{id: 8, name:
    "Role 9"},{id: 9, name:
    "Role 10"},{id: 10,name:
    "Role 11"} 
    // this event is called when we begin dragging a node in a tree 
    private function onAccessListDragEnter( event:DragEvent ) : void{
    event.preventDefault();
    vards1:DragSource = event.dragSource;  
    var items1:Array = ds1.dataForFormat("treeItems") asArray; 
    if (items1 != null && items1.length > 0 && (items1[0] isXML)){
    draggedItemOfAccessTree = items1[0];
    dragItemAccess = items1[0]
    asDisplayObject;}
    DragManager.acceptDragDrop(UIComponent(event.currentTarget));
    private function onExclusionListDragEnter( event:DragEvent ) : void{
    event.preventDefault();
    vards2:DragSource = event.dragSource;  
    var items2:Array = ds2.dataForFormat("treeItems") asArray; 
    if (items2 != null && items2.length > 0 && (items2[0] isXML)){
    draggedItemOfExclusionTree = items2[0];
    dragItemExclusion =items2[0]
    asDisplayObject;}
    DragManager.acceptDragDrop(UIComponent(event.currentTarget));
    private function onAccessListDragOver( event:DragEvent ) : void{
    event.preventDefault();
    varvar1:Number = AccessTree.selectedIndex; 
    varvar2:Number = ExclusionTree.calculateDropIndex(event);  
    var node1:XML = AccessTree.selectedItem asXML;  
    var node2:XML = ExclusionTree.calculateDropIndex(event) asXML;  
    //restrict drag & drop to nodes within same parent  
    if(draggedItemOfAccessTree.parent() == node1.parent() || draggedItemOfAccessTree.parent() != node1.parent()){
    DragManager.showFeedback(DragManager.NONE);
    //return; }
    elseDragManager.showFeedback(DragManager.MOVE);
    private function onExclusionListDragOver( event:DragEvent ) : void{
    event.preventDefault();
    varvar1:Number = ExclusionTree.selectedIndex;  
    varvar2:Number = AccessTree.calculateDropIndex(event); 
    var node1:XML = AccessTree.calculateDropIndex(event) asXML;  
    var node2:XML = ExclusionTree.selectedItem asXML;  
    //restrict drag & drop to nodes within same parent  
    if( draggedItemOfExclusionTree.parent() == node2.parent() || draggedItemOfExclusionTree.parent() != node2.parent()){
    DragManager.showFeedback(DragManager.NONE);
    // return; }
    elseDragManager.showFeedback(DragManager.MOVE);
    private function onAccessListDragDrop( event:DragEvent ) : void{
    event.preventDefault();
    varSindex:Number = AccessTree.selectedIndex; 
    varEindex:Number= ExclusionTree.calculateDropIndex(event);  
    var Enode:XML = ExclusionTree.selectedItem asXML;  
    var Anode:XML = AccessTree.selectedItem asXML; 
    if((draggedItemOfAccessTree.parent() != Anode.parent()) ){
    AccessTree.removeChildAt(Sindex);
    ExclusionTree.addChildAt(dragItemAccess , Eindex);
    // AccessTree.rdataDescriptor.removeChildAt(Anode.parent(),draggedItemOfAccessTree,Sindex);  
    //ExclusionTree.dataDescriptor.addChildAt(Enode.parent(),draggedItemOfAccessTree,Eindex); }
    private function onExclusionListDragDrop( event:DragEvent ) : void{
    event.preventDefault();
    varEindex:Number = ExclusionTree.selectedIndex; 
    varSindex:Number = AccessTree.calculateDropIndex(event);  
    var Anode:XML = AccessTree.selectedItem asXML;  
    var Enode:XML = ExclusionTree.selectedItem asXML; 
    if((draggedItemOfExclusionTree.parent() != Enode.parent()) ){
    ExclusionTree.removeChildAt(Eindex);
    AccessTree.addChildAt(dragItemExclusion, Sindex);
    // ExclusionTree.dataDescriptor.removeChildAt(Enode.parent(),draggedItemOfExclusionTree,Eind ex);  
    // AccessTree.dataDescriptor.addChildAt(Anode.parent(),draggedItemOfExclusionTree,Eindex); }
    private function onDragComplete( event:DragEvent ) : void

    Yes, I have set dragEnabled and dropEnabled to true. I trying to put restriction on dropping the node(aka leaf) of 1st free tree inside the branch(aka folder) of the 2nd tree. If something is dragged from tree1, it should be dropped only on tree2  i.e., dragged node should be appended at the end of tree2 and not inside nay of the branches of tree2. This functionality should work on both the trees. I'll be glad if u can provide the solution.

  • Can not open JPEG files and can not create JPEG files from other software

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working.
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling.
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    Did Windows Photo Viewer option appear when you right click the JPEG file and select open with?
    I would like suggest you use Clean Boot to troubleshoot if there is third-party software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Karen Hu
    TechNet Community Support

  • HT2731 I have 2 iPhone 4's in my name.  How do I stop from sharing my photos from one phone to the other.  When I take a photo it shows up on my husbands phone and vise versa. We have our iCloud turned off

    I have 2 iPhone 4's in my name.  How do I stop from sharing my photos from one phone to the other.  When I take a photo it shows up on my husbands phone and vise versa. We have our iCloud turned off in both phones.

    well i think one of you should change yalls name on the iphone its may not be the icloud but the names

  • I installed the InDesign CC Testversion and now i try to open INDD-Files from earlier Version. Always i get the error "This file is made by an earlier Version...." but it´s CC that is the latest Version. What is the problem ? Should i have to convert the

    I installed the InDesign CC Testversion and now i try to open INDD-Files from earlier Version. Always i get the error "This file is made by an earlier Version...." but it´s CC that is the latest Version. What is the problem ? Should i have to convert the files ?

    Adobe has been using confusing version names for at least five years.
    There are now two versions labeled CC, version 9 and version 10 (also known as CC 2014). Version 10 is the latest, and if you attempt to open a version 10 file in Version 9 that is not fully patched you will get an error message telling you that the file cannot be opened. The latest patch for version 9 should use a cloud-based service at Adobe to convert version 10 files to IDML and allow you to open that.
    I suspect you may be using an older operating system. Version 10 requires that your system runs at least OS X 10.7 or Windows 7 SP1 and if you are not it will not even be offered to you.

  • How do I stop my iphone from deleting emails from the server and visa versa

    I have the iphone 4, recently my phone started sending email info to the server. Meaning it deletes emails from my hotmail account if I delete them off my phone and visa versa. I know there is a setting under advanced setting, I don't have that button. I showed someone in the apple store and she said it was a software issue and to wipe my phone and back it up from my back up, this didn't help anything, neither did re setting the settings. I don't even have the spot in the settings where I can put in the pop3 information. This is a new thing my phone started doing and I don't understand why I don't have the same setting buttons as everyone else. Any advice? The only other thing I can think is wiping my phone and starting over but I don't want to lose the data in my aps
    I'm on the newest software version, this started happening just before I did that update.

    POP3 settings won't appear if an IMAP service can be found. Basically, you're going to have to set up the account with bogus information so that the phone can't find the server by itself. Then, when it can't, you'll be presented with the advanced settings where you can set it up as POP3 and enter the settings you want to use.
    POP3 is considered pretty much obsolete these days. The whole point of IMAP is to allow you replicate the server based mail store completely so that all information is available across all of your devices. If you don't want things crowding your in-box, but don't want to delete it entirely, why not just set up folders and move things where you want them to be once you read them?

  • Can't open Pages 05 saved in Dropbox on new Pages iPad app and visa-versa

    Updated to the new Pages 05 on all my devices (macbook, iPad, iPhone). Problem now is that I want to save documents into Dropbox. Works fine when saving a file from my macbook to dropbox, and then opening it on my macbook again. But whenever I create a document on either the macbook or iPad and save it into dropbox, it will not allow me to open it on the other device. I am very uneducated in this area, especially the new 'packages' that files are put in now, I'm not understanding how this all works and why I cannot open a pages file created on my macbook in a pages app on my iPad and visa-versa.

    I've just encountered this problem trying to work away from my main mac on pages and numbers documents, through my iPad - this was a great feature through dropbox -  now it's just another frustration - Apple why are you taking us backwards?  To resolve it I have to spend time moving all my documents to iCloud which is just making what was a brilliantly simple file sharing option, now very complicated.

  • Using iPhote Keywords with PS Elements and visa-versa

    Howdy,
    Does anyone know if you can xfer (import/export) iPhoto keywords to PS Elements 4 or Photo Bridge and visa-versa?
    Or do you have to create a new Keyword list with Photo Bridge and PS Elements 4

    MV:
    You can use iView MediaPro in the Demo mode to catalog your iPhoto LIbrary and then sync (write) the keywords back to the original file. That will permit other applications to read those annotations in the source file. Check out Tutorial #1 here. The methodology is there to do what you want even though it's geared for a different issue.
    G5 Dual Core 2G, 2G RAM, 22 Display, 250G HD, 250G FW HD, QT 7.0.4P   Mac OS X (10.4.5)   Canon S400, i850 & LIDE 50, Epson R200, 2G Nano

Maybe you are looking for

  • This computer is already associated with an Apple ID (when trying to download family purchases)

    On my iMac I have five user accounts: 1 master family, father (me), wife, daughter and son.  For iTunes, the family is used for family sharing and as is the organizer for family purchases. My son's iCloud account is maintain through the Family accoun

  • Time Capsule as Itunes Media Storage

    I'm thinking about buying a Time capsule, but I want to know if that's what I really need. 1) My main problem is that I can't use my MacBook to hear music, watch movies or sync my Iphone 4 through my apartment 'cause my Library is in an External hard

  • Finding the path of your filter plugin programmatically?

    Hi, I've been trying some time to get the path of my plugin so I can reference some resource files in a reliable manner (so no matter where my plugin is within the plugin directory it will work).  I've been trying to use the SP Suites to do this, but

  • I do not want integration with IOS or iCloud

    Hello, I have a late 2010 27 inch iMac and a first generation iPad. I foolishly installed Mountain Lion when it came out and have become increasingly frustrated and irritated with the emphasis on iCloud (I did not install that) and integration with I

  • HTTPS using SOAP and sharing certificates

    Hi Experts, We have been able to activate HTTPS port in our PI system and created a scenario with SOAP sender with option -- >> HTTPS without client authentication. Now, we generated the URL from sender agreement -- >> https:<host>:<port>:XISOAPAdapt