Probelm with InDesign files...

Hi everyone,
We are working in extraction process for InDesign CS3. And we have the script to extract all stories from InDesign file. We got this script from adobe forums. And we added some lines into the script as per the needs. Still we are not found any issues in this script and its working greatly.
But now we have one set of InDesign files for text extraction. In these files when we try to extract texts the script throws an error like "Failed to Import". Refer attached snapshot. We have tried but unable to solve the problem.
Herewith i attached the files for your reference. Please find out the script & InDesign file in the attached zip file.
Can anyone look into this and help me out.
Thanks in advance
Thiyagu

Hey again!
I figured it out. Just made a complete new document and tried again.
This time everything works as it's supposed to.
I assume the problem has something to do with the fact that I overtook the job I am currently working on from a colleague and thus there was some form for corruption or similar.
At least when starting from a fresh it's all working fine again.
But you just gave me the idea to check this possibility so I rated your answer as helpful.
However I have no clue what to do with the old document in order to change that. I guess it's one of those InDesign mysteries that so often occur but I also assume that copying and pasting will be sort of a solution..., well here and now at least.
So unless you know what could be the reason for the corruption I'll thank you very much for your time and kind help.

Similar Messages

  • Is it possible to store script settings with InDesign file?

    Hi,
    I have some crazy idea: is it possible to store script settings with InDesign file?
    In that case scripters will be able to store those settings with file, and when script runs - it can check if those setting exists - if so - script can run without showing dialogue with parameters... (as all necessary parameters stored with indesign file), and of course we can force InDesign to show script parameters dialogue if we run it with alt/option key pressed while running this script. Maybe even different scripts will be able to share those settings and interact with each other.. we will be able to have settings that will be saved with file, or temp settings for current document or session (till InDesign is closed). With eventListeners and startup scripts we will be able to do scripts that would be able to check for updates, and automatically execute when we placing images and text, and so on.. this can be a whole InDesign scripting framework, that allow to write scripts that will use same libraries and ui so we don't have to write everything from scratch everytime and just included required libs..
    so here is 2 main questions for now:
    1) is it possible to store script settings with .indd file
    2) who is intrested in creation InDesign scripting framework (because this only makes sense if many people will use it)
    PS: I know that it's possible to store settings in external file, but this time I'm interested only for saving params with .indd

    Ok, here is the labels parser I end with, actually it works extremely fast!
    Thanks again, Harbs!
    var labels = GetDocLabels(app.documents[0]);
    function GetDocLabels(doc)
        var idmlFile = File(Folder.temp + "/temp.idml"); 
        doc.exportFile(ExportFormat.INDESIGN_MARKUP,idmlFile); // asynchronousExportFile works, but script fails as it try to execute before file fully exported
        var folder = Folder(Folder.temp + "/temp_idml"); 
        app.unpackageUCF(idmlFile,folder); 
        var designMap = File(folder + "/designmap.xml"); 
        var valuePairs = GetValuePairs(designMap); 
        return valuePairs;    
    function GetValuePairs(file)
        file.open("r");  
        var contents = file.read();  
        file.close();   
        var contXML = XML(contents);
        var vals = {};
        for each(var pair in contXML..KeyValuePair)
            vals[[email protected]()] = [email protected]();       
        return vals;  
    //> START of DELETE FOLDER Function
    function deleteFolder(path)
        removeFolder = path; // path to folder that need to be removed
        filesToRemove = removeFolder.getFiles();
        for(i = 0; i < filesToRemove.length; i++)
            try
                innerFolders = filesToRemove[i].getFiles();
                if(innerFolders.length >= 1)
                    for(f = 0; f < innerFolders.length; f++)
                        innerFolders[f].remove()
            catch(e){}
            filesToRemove[i].remove(); // remove temp files once we done
        removeFolder.remove();
    }//< END of DELETE FOLDER function
    // remove temp files once we done
    deleteFolder(Folder(Folder.temp + "/temp_idml"));
    File(Folder.temp + "/temp.idml").remove();
    // DUMPER FUNCTIONS
    function dump(o)
        out = "";
        for (var p in o)
            out += p + ": " + o[p] + "\n";
        return(out);
    function alert_scroll (title, input)
       if (input instanceof Array)
           input = input.join ("\r");
       var w = new Window ("dialog", title);
       var list = w.add ("edittext", undefined, input, {multiline: true, scrolling: true});
       list.maximumSize.height = w.maximumSize.height-100;
       list.minimumSize.width = 550;
       w.add ("button", undefined, "Close", {name: "ok"});
       w.show ();
    alert_scroll ("Document Labels", dump(labels)); exit();

  • Probelm with InDesign CS5 table resize

    I am having problems resizing tables in InDesign CS5.
    The width can be in- and decreased, however the height just won't move up nor down when pulling in the lower right corner nor anywhere else on the columns baseline.
    Anybody else having this problem?
    Is it a bug or maybe just me not understanding things correctly in the help section...?
    Any input is appreciated so knock yourselves out. :-)

    Hey again!
    I figured it out. Just made a complete new document and tried again.
    This time everything works as it's supposed to.
    I assume the problem has something to do with the fact that I overtook the job I am currently working on from a colleague and thus there was some form for corruption or similar.
    At least when starting from a fresh it's all working fine again.
    But you just gave me the idea to check this possibility so I rated your answer as helpful.
    However I have no clue what to do with the old document in order to change that. I guess it's one of those InDesign mysteries that so often occur but I also assume that copying and pasting will be sort of a solution..., well here and now at least.
    So unless you know what could be the reason for the corruption I'll thank you very much for your time and kind help.

  • Can't open an InDesign file off of an SMB share in Yosemite.

    Anyone else having this issue? When I go to open a file off of our file server it tells me the file is in use, or that I don't have the correct permissions.  If I force SMB1 or CIFS, then I can open the file again.  Seems to only happen with InDesign files.

    Ok I've been testing some things and here are the results...
    Word files don't seem to open, if I double click on the file in Finder nothing happens. If I try to open the same file directly from Word I get an error saying: Word cannot open this document. The document might be in use, the document might not be a valid Word document, or the file name might contain invalid characters (for example, \/).
    Powerpoint files open without any problem but saving them after some modification is not possible (This file is read-only. Do you want to save changes under a different name?) It's like Powerpoint opens a read-only file version.
    Creating a new document in Indesign and then saving it onto the server is also not possible, this is the error I get: Cannot save "Untitled-1" under a new name. The file "DBTmp38..." is damaged (Error Code: 0).
    When composing a new e-mail in Outlook for Mac and adding an attachment directly from the server, there is also an error: Message could not be saved. If I copy the file to my desktop and then use it as attachment the e-mail can be sent out.
    I also think this is more Apple related then Adobe related. It clearly has something to do with rights/permissions. The cfis:// fix doesn't work. Wether I use smb:// or cfis:// or even something else, I always get these errors...

  • Packaging Indesign Files - Network to Desktop to Network

    Hi - I wanted to hear from people who work with InDesign files on a regular basis. I am not a guru with InDesign - so any advice/comments would be appreciated.
    Our end-users currently work with InDesign CS5 and CS6. Windows 7 Enterprise x64. I understand how packaging an INDD file works. It packages all of the links, photos, fonts, colors into the document – making it one large file.
    When the file is packaged (from Network to their computer), sometimes they want to take their laptop home with the saved packaged INDD file and work on it. After they edit their document – they return to the office and put the packaged file back on the network.
    When someone else goes to open the packaged file on the network – all of the links are then broken. There can be hundreds of links broken – which could accumulate hours of work just fixing the links.
    Is there any way to unpackage the INDD file and restore all of the links from the network?
    Again – any advice is appreciated. Thanks in advance!

    Relinking shouldn't be a problem
    Just select the Window>Links Panel
    And in the sub menu (top right)
    Choose update all links  to a folder (think you might have to select them all first)
    And then point to the folder
    If the people are at home working on the files and they add files to the document,
    They need to use File>Package and create a new package.
    Zip that folder and then bring it back in.
    Although if your internet connection has no up or download limit - I would store the files on drop box.
    It has many advantages
    http://boblevine.us/why-i-always-save-files-in-dropbox-and-why-you-should-too/

  • My actual InDesign File has become an alias and will not open...how do I fix?

    My actual InDesign file (61MB) is listed as an alias in the Finder and will not open in InDesign. This has happened since upgrading to Mavericks. This is a critical file to me; how do I make it just a standard InDesign (.indd) file again? Changing the filname extension does nothing. Help!

    OK so I’m late contributing to this thread, but this issue has recently started on one of our SMB shares and has been plaguing me for 6 weeks. I spent some time trying to find a fix and found any number of users who have had this issue, I tried a lot of 'fixes' which I'd cut and past into a text file from various user groups and cannot remember where I picked this one up so apologies to the orginal poster.
    I’ve also posted this fix in a number of forums so hopefully others searching for a fix can find it.
    You may need to download and install Codekit, I already have it installed and forget sometimes that some of these ‘hacks’ only work with it installed.
    Launch terminal and use this command /usr/bin/SetFile -a a followed by the path name to the damaged file.
    Something like
    /usr/bin/SetFile -a a /Volumes/YourServer/ShareName/FileName.alias
    The  easiest way to get the correct path name is to launch Terminal and drag  the damaged file to the command line, Terminal will create the correct  path, now all you need do is paste the command in to the Terminal  command line before the path and hit return.
    I  don't expect you will have this issue with InDesign files stored on  your local HD, it only seems to occur with files stored in a share on a Windows server accessed via SMB.
    Cheers
    Phil

  • InDesign files to Captivate 8 for LMS????

    Our training manuals are currently published in InDesign. We are implementing an LMS and using Captivate as the authoring tool. What is the best way to get these files into Captivate? Should I copy/paste into PPT and then convert to InDesign????? Anyone have any ideas?

    Sounds like a re-think might be needed. If you are working with InDesign files they are probably mostly oriented around TEXT. You could take the ideas incorporated in the text and design and develop interactive learning courses in Captivate. But there isn't really any benefit in just taking the InDesign files and then dropping them into Captivate, because that doesn't really make them any better, so save yourself the trouble of trying to figure out how to do that.
    To create something interactive, you could stay in InDesign and add interactivity there--but it won't necessarily allow you to accumulate user's scores and such. There is a good program in this on Lynda.com.
    Or, you could, as I said, start from the content in the InDesign documents and create a scorable course in Captivate.
    Either way, the solution won't be instant, and there will be a learning curve involved. Best not to rush when you also have to learn. Clarify your long term goals for the project, see if there's an ugly short term solution (i.e., just putting up pdfs of the InDesign files on the LMS), and then get to work on the "beautiful" solution in the time you've bought.

  • I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of A

    I am in the middle of a job using CS 6, but at the same time opening the Creative Suite apps.  I created an InDesign file in CS 6, saved it, and now I can't open it. I'm getting this message: Cannot open file because it was saved with a newer version of Adobe InDesign CC (10.1). You must use that version or later to open the file." AARRGGHH! So how do I access the file?

    Sounds like you opened and saved it in CC, so now you need to go back to CC and either complete the project there, or export to IDML to take it back into CS6.

  • How do I use an Edge Animate project with SVG files in InDesign for DPS output?

    Is there any way to include an Edge Animate web content using .svg files in InDesign for output to DPS?
    Edge Animate works great with InDesign, except for when you're using SVG files. I've worked with SVG files on the web successfully (writing .htaccess files and such), but it seems like InDesign doesn't like them.
    This is pretty important because I don't want to have to design multiple renditions on the DPS suite. Currently I have it setup as a PDF format (DPS) and that scales all of the vector-based type perfectly. It would be wonderful if the animations could also be in a vector format so that when the iPad (3) users see the designs, they will scale naturally through the PDF framework.
    Any advice would be invaluable.
    Thanks!

    moved to the DPS forum....

  • Is it possible to link and update external files in a Indesign document when sharing the Indesign file in Creative Cloud with multiple users?

    I am new to Creative Cloud, but have been using Adobe software for many years.
    Now we are considering sharing an Indesign file with my project group using CC.
    The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
    These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF. 
    Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
    Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
    Or can they also be stored in the CC cloud? Or is there another method?
    Thanks in advance for any help or suggestions
    Ronald

    This will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
    Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files.

  • I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a n

    I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a newer version? they are the same versions and both are up to date, I was asked this morning to put in my adobe id email and password to connect to CC which I have never been asked to do before, can anyone help?

    what's your home version (click help>about) and was that just a warning so you were able to open the file?

  • How do I make type with effects appear the same in a .pdf as it does in the native InDesign file?

    The type I am referring to is the words "What to do next" above.
    On the left is what they look like in the native InDesign CS5 file they were created in. This is how I would like them to appear.
    On the right is how they appear when I try to save the brochue as a .pdf.
    My question is how can I get the words "What to do Next" to appear the same in the .pdf as they do in the native InDesign file?
    Thanks for your help!
    SM66

    Effects are usually using some type of blending mode - you should preview your InDesign file using View>Overprint Preview
    That will show you what they look like when they blend with the background.

  • Grown InDesign files with the same content from 40 MB to 430 MB

    Hello
    I have a recurring project where always the same pdfs with vector contents are included. The InDesign file had always around 40 MB.
    Since the update to CC the new .indd files suddenly grew to 230 MB, and at the next step to 430 MB.
    I resave the files under a new name, when new corrections come in, so i can go back to the last version and track changes, there are about 120 pages, with about 60 tables and 35 graphics that were opened and colored in CMYK in Illustrator.  From the 40 to the 430 MB nothing has changed on my course of action... How can that be what I can do?
    Thank you!
    Hallo,
    ich habe ein wiederkehrendes Projekt in dem immer die gleichen pdfs mit Vektor Inhalt enthalten sind. Die InDesign Datei dazu hatte immer um die 40 MB.
    Seit dem update auf CC sind die neuen .indd Dateien plötzlich auf 230 MB gewachsen, und beim nächsten abspeichern dann auf 430 MB.
    ich speichere die Dateien, wenn ein Schwung Korrekturen kommt immer neu ab, damit ich zur letzten Version zurückkehren kann, deshalb kann ich nachverfolgen, wann die Daten so gewachsen sind... der Inhalt ist immer gleich, es sind ca. 120 Seiten, mit ca. 60 Tabellen und 35 Grafiken, die als pdf mit Illustrator geöffnet und dort in CMYK eingefärbt wurden. Von den 40 bis zu den 430 MB hat sich an meiner Vorgehensweise nichts geändert... wie kann das sein, was kann ich dagegen tun?
    Danke!

    It's sometimes best when changing version of Indesign to use File>Export and choose IDML
    then open that in the new version of Indesign.
    You can do this with your current files and see if the problem is fixed.

  • With InDesign CS6 I cannot re-work a table in a file created in InDesign CS5.5.

    With InDesign CS6 I cannot re-work a table in a file created with InDesign CS5.5. The half of the table disappears when I try. Any idea why?

    No idea why that would happen ...
    Try this
    Troubleshooting 101: Export to .idml or .inx to clear file corruption
    And/or this
    Troubleshooting 101: Replace, or "trash" your InDesign preferences

  • How to place an indesign page with hyperlinks in another indesign file, such that the links work?

    I have a page of text with hyperlinks in a master indesign file.
    I place that file into another indesign file.
    (It is like an html include file for a webpage.In this way i only have to update the file in one place.)
    But when i export the indesign file to pdf, the hyperlinks fail to work.
    They work in the original but not in the second.
    Does anyone have any suggestions?
    Abby Eagle

    My apologies. My tests were done using URLs. They function in Acrobat regardless of their state in InDesign.
    Aside to Bob: Since I had just made a PDF that worked, I mistook your "Since when" to mean since when won't a placed ID file work? I guess I was blind sided by the fact that the only hyperlinks I ever come into contact with are full URLs.
    If Abbey's situation is as I envisioned -- that the placed files are more akin to smaller graphics within the layout of a page rather than discreet pages at all -- then is this not a insolvable problem given how InDesign works now?

Maybe you are looking for