Importing and flowing multiple text docs into InDesign CS3

I have multiple plain text files where each runs several pages long that I want to import into one document in ID CS3. I want to import them and have them flow in a single threaded text frame one after another over multiple pages. With a single multi-page text doc all I have to do is select Place and hold down the shift key and InDesign will add the necessary pages and flow the copy until the end of the doc. However, if I shift select the docs and try import them into a text frame by holding down the shift key, it will just flow the first doc in the group with no indication of overset text. I have tried placing multiple text docs holding down the shift and command key and that brings in all my docs on the first page but in separate text boxes with overset text for each doc. Is there a way to do this in InDesign or perhaps a plugin that can do this?
Thanks
Randy

I tried to find this. It was posted 4/21/08 by Peter Kahrel (I can tell, because I can see my side of the discussion in my Sent folder) in response to a post I made entitled "Multiple Files". Maybe I'm not searching the forum archives properly, or maybe this was during the time last year when Adobe was trying (and failing) to update the forums. In any case, I'm sure at this point that Peter posted this for public consumption, so I don't think he's going to mind if I post it again:
// Description: Place multiple textfiles as one story
#target indesign
preset = "/d/books/test/*.doc";
app.wordRTFImportPreferences.useTypographersQuotes = false;
app.wordRTFImportPreferences.convertPageBreaks = ConvertPageBreaks.none;
app.wordRTFImportPreferences.importEndnotes = true;
app.wordRTFImportPreferences.importFootnotes = true;
app.wordRTFImportPreferences.importIndex = true;
app.wordRTFImportPreferences.importTOC = false;
app.wordRTFImportPreferences.importUnusedStyles = false;
mask = prompt( 'Enter a file path/mask.\r\r' +
   'Examples:\r' +
   'd:\\books\\test\\*.rtf   /d/books/test/*.rtf', preset );
if( mask == null ) exit();  // Cancel pressed
ff = Folder( File(mask).path ).getFiles( File(mask).name );
if( ff.length > 0 )
   placed = [];
   missed = [];
   tframe = app.documents.add().textFrames.add(
      { geometricBounds : [36, 36, 400, 400] } );
   placedstory = tframe.parentStory;
   app.scriptPreferences.userInteractionLevel = 
      UserInteractionLevels.neverInteract;
   pb = initprogressbar( ff.length, 'Loading');
   for( i = 0; i < ff.length; i++ )
      pb.value = i;
      try
         placedstory.insertionPoints[-1].contents = '£0';
         placedstory.insertionPoints[-1].place( ff[i] );
         placedstory.insertionPoints[-1].contents = '\r\r';
         placed.push( ff[i].name );
      catch(_)
         missed.push( ff[i].name );
   app.scriptPreferences.userInteractionLevel = 
      UserInteractionLevels.interactWithAll;
   inform = '';
   if( placed.length > 0 )
      inform = 'Placed ' + ff.length + ' files (in this order):\r\r' + placed.join('\r');
   if( missed.length > 0 )
      inform += '\r\rCould not place:\r\r' + missed.join('\r');
   delete_empty_frames ();
   alert( inform );
else
   alert( mask + ' not found.' );
// End
function delete_empty_frames ()
   app.findGrepPreferences = app.changeGrepPreferences = null;
   app.findGrepPreferences.findWhat = '\\A\\Z';
   var empties = app.activeDocument.findGrep (true);
   for (var i = 0; i < empties.length; i++)
      empties[i].parentTextFrames[0].remove()
function initprogressbar( stop, title)
   var progresswindow = new Window('palette', title);
   var progressbar = progresswindow.add( 'progressbar', undefined, 1, stop );
   progressbar.preferredSize = [200,20];
   progresswindow.show()
   return progressbar;
Copy and paste everything between the hyphen lines (not including the hyphen lines) into a text editor and save with a .js extension and put it in your scripts folder. Should be something like:
D:\Program Files\Adobe\InDesign CS3\Adobe InDesign CS3\Scripts\Scripts Panel
After alphabetizing your files and putting them in their own folder, copy the path and run the script. It will make a new folder and place all your files in one continuous story. I don't know how it will work with .txt files.
Ken Benson

Similar Messages

  • Importing multiple Word docs into InDesign

    Hi there
    Is it possible to import multiple Word documents into a single InDesign text frame all at once?
    I have 20 files that all flow sequentially so was wondering if -- by selecting them all in Place window -- they would all be brought in one after the other, without each one creating its own new text frame.
    Any help gratefully received.
    Thanks
    Dan

    I use the script, below, for that. It's a bit scruffy, it should be tarted up. But it works fine. When you start it you type a path/file mask, using the formats illustrated in the dialog.
    It sets a few import preferences, these are the only ones I'm interested in. But it'll pick up the other options from their current settings.
    Peter
    // Description: Place multiple textfiles as one story
    #target indesign
    preset = '/d/test/*.rtf';
    app.wordRTFImportPreferences.useTypographersQuotes = true;
    app.wordRTFImportPreferences.convertPageBreaks = ConvertPageBreaks.none;
    app.wordRTFImportPreferences.importEndnotes = true;
    app.wordRTFImportPreferences.importFootnotes = true;
    app.wordRTFImportPreferences.importIndex = true;
    app.wordRTFImportPreferences.importTOC = false;
    app.wordRTFImportPreferences.importUnusedStyles = false;
    mask = prompt ('Enter a file path/mask.\r\r' +
        'Examples:\r' +
        'd:\\books\\test\\*.rtf   /d/books/test/*.rtf', preset);
    if (mask == null) exit();  // Cancel pressed
    ff = Folder (File (mask).path).getFiles (File (mask).name);
    if (ff.length > 0)
        placed = [];
        missed = [];
        tframe = app.documents.add().textFrames.add({geometricBounds : [36, 36, 400, 400]});
        placedstory = tframe.parentStory;
        app.scriptPreferences.userInteractionLevel =
            UserInteractionLevels.neverInteract;
        pb = initprogressbar (ff.length, 'Loading');
        for (i = 0; i < ff.length; i++)
            pb.value = i;
            try
                placedstory.insertionPoints[-1].place (ff[i]);
                placedstory.insertionPoints[-1].contents = '\r\r';
                placed.push (ff[i].name);
            catch (_)
                missed.push( ff[i].name );
        app.scriptPreferences.userInteractionLevel =
            UserInteractionLevels.interactWithAll;
        inform = '';
        if (placed.length > 0)
            inform = 'Placed ' + ff.length + ' files (in this order):\r\r' + placed.join ('\r');
        if (missed.length > 0)
            inform += '\r\rCould not place:\r\r' + missed.join ('\r');
        delete_empty_frames ();
        alert( inform );
    else
        alert (mask + ' not found.');
    // End
    function delete_empty_frames ()
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = '\\A\\Z';
        var empties = app.activeDocument.findGrep (true);
        for (var i = 0; i < empties.length; i++)
            empties[i].parentTextFrames[0].remove()
    function initprogressbar (stop, title)
        progresswindow = new Window('palette', title);
        progressbar = progresswindow.add ('progressbar', undefined, 1, stop);
        progressbar.preferredSize = [200,20];
        progresswindow.show ()
        return progressbar;

  • Trouble importing accurate versions of Word docs into InDesign CC

    HELP! Sometimes when I import a word document sent to me by a client, InDesign imports an older version of that word document. If I open the document they sent me in Word and compare it to the text that imports from the same document, it's sometimes a different version? It seems to import an older, un-edited version of the document. Has anyone experienced this? Why is that happening, How can I fix it? It seems to just be one client but has happened a few times.

    Make sure to open the track changes dialog and accept the changes, then do a Save As to rewrite the file.

  • Importing Quark into Indesign cs3

    I am importing a quark 4.1 file into indesign cs3 and it seems all the text frames I had tabs formated on didn't translate into indesign cs3 well. Specifically the last couple tabs were off making the text jump to the next line and moving other text over. Is there anything I could do to fix this isssue? I tried to export the text from quark to a word doc and then I tried to import that word doc into indesign and it still was messed up. Any suggestions?

    My guess is that the tab settings are exactly the same as you had them
    in Quark, but that the text is wrapping a little differently. Figure out
    what's making the text a little bit longer in Indesign and fix that.
    Conversions from Quark, or Pagemaker, or even from previous versions of
    Indesign always involve some fixing up. For me, it's not worth
    converting from Quark unless the document is being completely reworked.
    Otherwise, I just leave it in Quark.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • Import Quark 6 files into InDesign CS3?

    I'm looking to import my old QuarkExpress 6 files into Indesign CS3. I saw that there is a plug in for about $199 that would allow Indesign to import these files. Is that the only way, or is there a cheaper way to make this happen?
    Thanks for any input.

    This is not a design question. Please ask in the ID forum.

  • Import and flow the xml text in a indesign document

    pls,anyone give me a solution for import and flow the xml text in a document.
    thanks,
    screen410099

    See http://forums.adobe.com/thread/838745?tstart=0
    Would you mind waiting a bit before asking again and again and again and then again? It's possible the person who can answer you question just didn't happen to read the forums this week.

  • Importing and retaining greek text from word into IndCS3

    Have a word document in Greek. Word file is in Times New Roman and views in word correctly as font is loaded. I wish to import into Indesign CS3 and format accordingly, but, when I do it does not keep greek language it comes in as all pink missing text. Have tried selecting greek language in character palette but does not fix problem. Does anyone have any suggestions?
    thanks
    sonja

    >Have tried selecting greek language
    What would you expect from that? Auto-translation?
    >all pink missing text
    That's a visual clue, not meant to indicate "missing text" (how would ID know that it's missing?), but rather that the characters used in the text are not in your current selected font. Select another font -- which
    i has
    Greek characters --, and you'll be fine.

  • Using applescript/automator to import and categorise multiple .txt files

    Hello all,
    I wonder is anyone can offer me some advice on the best approach to importing multiple text files into excel. I've searched excel specific forums, but it seems that the macro's that work on windows wont work on my mac.
    Basically, I am trying to find a way of importing multiple comma delimanted text files into an excel workbook. If it is possible, it would also be great to automatically compute the data into summarised variables (e.g., the data is multiple reaction time trials [220 to be precise] and I would like to create cells within excel with the mean scores from groups of the trials [A1 to A20, A21 to A40, A41 to A80 etc.]) within a seperate sheet (at present I am importing the text files one by one, performing the calculations, before copying and paste special into a summary sheet).
    I have put an example of the file in dropbox (https://www.dropbox.com/s/9y6valpkzsq8kgz/Example%20workbook.xlsx) to give anyone who is willing to help a better idea of what I mean.
    Thanks in advance.
    John

    Danitaz,
    Did you ever figure out the problem with your mail that was going out from the wrong server (2 yrs. ago)?  I have the same problem from my MacBook Pro, using Mac Mail.  I try to send email from my work account and then find to my surprise and dismay that I get an autoreply in my personal gmail account from the person I wrote to.  I look in the Sent mail for my work account and it looks like the message went from there but I can see in the reply that it instead went from my gmail account!  I tried checking the box in my work account that says "send only from this SMTP server" but that didn't fix the problem.  The only way seems to be turning off the gmail in order to send with certainty from my work account.  If you have any suggestions I would love to try them.  Thanks!
    PS Sorry to write off topic here.  I wanted to reply to the original posting but I guess since it is so old I couldn't do so.

  • Looking for a program that can handel import and export of palm doc files

    I am looking for a program that can handel the import and export of palm doc Files that can convert them to to either txt or RTF files for Vista 32, running Palm Desktop 7.1.
    Could anyone give me a few suggestions of any plug-ins that would be good me?
    Hearns
    Post relates to: Palm IIIxe
    This question was solved.
    View Solution.

    Ok, you need to clean uninstall Palm desktop 6.2. Install Palm desktop 4.1.4 and download and install documents to go version 6.
    Here are the clean uninstall instructioins for Vista.
    You should first make a copy of your data to have just in case something
    happens. You can find your data files by going to Start --> Documents -->
    Palm OS Desktop. Highlight your Palm Desktop username and right click and
    copy. Then go to your PC desktop right click on a blank spot and select paste.
    If this is the first time you are installing Palm desktop and encountering a problem, skip the previous step.
    Now you want to uninstall Palm Desktop and remove everything that has to do
    with Palm Desktop from your computer.
    Go to the following locations on the PC and delete the folders listed below.
    C:\Program Files\Palm or Palm One
    C:\Users\[Vista Login Name]\appdata\local\virtualstore\Program Files\Palm or
    PalmOne
    C:\Users\[Vista Login Name]\appdata
    *Note you may need to view hidden folders to get to appdata. To do that go
    into your control panel and open folder options. Go to view tab and uncheck
    hide hidden files.
    Once this is done you will need to delete some registry keys from your PC Operating System.
    Word of warning, going here and deleting the wrong thing can cause your PC
    from starting up, crashing and deletion of programs and data. If you feel
    you are unsure of yourself, see if you have a friend that can help you or a
    PC technician that you can pay to help you. This procedure will show them everything they need to delete. To make sure we have a good copy of the current registry, we need to do a backup of the Registry.
    Go to start on the PC, in the search field type "regedit.exe" without quotes.
    Highlight COMPUTER, go to File --> Export. Should pop up with a Save As box.
    Current location is fine, should be in My Documents or save to a location you will remember. In the file name on the bottom type "backup[todaysdate]" i.e. backup07072008. Next, the hard part.
    The easiest way to make sure your working with the correct key, highlight the key i.e. palm quick install, and press delete on your keyboard. It will ask you, are you sure. Say yes. Do the same thing for all keys below.
    If you make a mistake, stop what you are doing. And call a PC technician.
    BUT do not turn off your computer.
    The reg keys are as follows (Note: some of theses reg keys will not be here
    but if they are delete them)
    * HKEY_CURRENT_USER\Software\U.S. Robotics\Palm Quick Install
    * HKEY_CURRENT_USER\Software\U.S. Robotics\PalmOne File Transfer
    * HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop
    * HKEY_CURRENT_USER\Software\Palm
    * HKEY_CURRENT_USER\Software\Palm, Inc.
    * HKEY_CURRENT_USER\Software\PalmDesktopAutorun
    * HKEY_CURRENT_USER\Software\palmOne
    * HKEY_CURRENT_USER\Software\PalmSource
    * HKEY_LOCAL_MACHINE\Software\PalmSource or anything else that says palm
    Next reboot your computer.
    Then reinstall your palm desktop from the CD and do a hotsync. Use the username that is on the handheld.

  • Setting Font for converting multiple text files into PDF using VB 6.0

    Dear All,
    Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
    Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
    Dim p_AcroApp As CAcroApp
    Dim p_VDoc As CAcroAVDoc
    Dim p_DDoc As CAcroPDDoc
    Dim IsOk As Boolean
    Set p_AcroApp = CreateObject("AcroExch.App")
    Set p_VDoc = CreateObject("AcroExch.AVDoc")
    Call p_VDoc.Open(srcFilename, "")
    Set p_VDoc = p_AcroApp.GetActiveDoc
    If p_VDoc.IsValid Then
    Set p_DDoc = p_VDoc.GetPDDoc
    ' Fill in pdf properties.
    p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
    p_DDoc.SetInfo "Subject", srcFilename
    If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
    MsgBox "Failed to save " & srcFilename
    End If
    p_DDoc.Close
    End If
    'Close the PDF
    p_VDoc.Close True
    p_AcroApp.Exit
    'Clear Variables
    Set p_DDoc = Nothing
    Set p_VDoc = Nothing
    Set p_AcroApp = Nothing
    End Sub
    What I need;
    1) to be able to set the font face of the destination file ( destFilename)
    2) to be able to set the font size of the destination file ( destFilename)
    Am using Adobe Acrobat 7.0 Type Library
    Kindly Help.
    Thanks in advance

    We didn't say it doesn't work. We said it isn't supported.
    There are a number of other ways to make a PDF. The one which would
    give the most control is if your application directly printed to GDI,
    controlling the font directly. This could print to Adobe PDF.
    You could look for an application that gives control of font for
    printing.
    You could use a text-to-PostScript system and distill the result. You
    could even look for a non-Adobe text-to-PDF.
    Working in the unsupported and dangerous world you chose, the font
    size for text conversion is set (and this is very bad design from
    Adobe) in the settings for Create PDF > From Web Page. There is no API
    to this.
    Aandi Inston

  • How importing illustrator CS4(or 5) gradients into InDesign CS5?

    How importing illustrator CS4(or 5) gradients into InDesign CS5?
    Many gradients for illustrator we can download in Internet, but nothing for InDesign ...
    ( Way, where copy (Ctrl + C) and paste (Ctrl + V) no work in this products, when gradient selected - button "Copy" - off )
    I try create ASE file, but his only for Colors, without beautiful gradient...
    What i must do?

    Thanks, copy to clipboard - it's working,
    but why developers not create "Simple converter" in InDesign
    Menu -> Load Swatches, what will get swatches in *.ai (or other) files??

  • Bring foreign text doc into title tool / project

    Hi: I'm editing on CS4 and have 4 foreign language videos to edit.  I tried this on CS3 and it worked but doesn't seem to work on CS4.  I have a word doc on my desktop, the computer sees it as a text doc as word is not on the edit computer.  I tried to cut it and paste it into the open title tool, but it doesn't seem to work.  How can I bring a foreign text doc into my project?  My system is a new PC workstation running XP professional so its got the capability to read Portugiese and Polish.  I have to install the Cantonese font.  Thanks, Christine

    Okay, I've got it working now.  What I had to do is open the word doc on my office computer and resave it as an rtf rather than txt to keep the special fonts.  I took it over to the workstation.  SInce it was rft it could open it and all I had to do then was cut and paste it into the title tool.
    Thanks for your help!

  • After I updated my iPhone 5 to iOS7 I can no longer see the individual chapters when playing my audio books.  Also I can't edit and copy multiple text messages.

    After I updated my iPhone 5 to iOS7 I can no longer see the individual chapters when playing my audio books.  Also I can no longer edit a and copy multiple text messages like before. Is there a way to do these things I am missing?

    Not only can i not see the individual chaptes -- apparently like you and everyone else suffering through the "improved" iOS7 -- when my audiobook repeats a "file" within  chapter, which it sometimes does, I cannot get "inside" the chapter and move forward to where I'm supposed to be.
    Whatever happened to "if it ain broke.......???

  • Placed QuarkXpress 7 eps into InDesign CS3 prints with slanted type

    any suggestions to fix?

    placed QuarkXpress 7 eps into InDesign CS3 prints with slanted type
    The problem may be in the HP print drivers.
    Printing to Epson printers works, printing to HP 132, 5000 or 2200 produces slanted type, even at Adobe.
    Printing to disk as a Postscript printer and then printing the ps file using the pdf printer works fine.
    Roger

  • Copy and paste multiple texts from Word to Indesign

    Hello!!
    I would like to simplify multiple operations where I need to copy multiple text boxes from a Word doc into multiple boxes in Indesign, and be able to specify the exact location of each box in the Indesign doc. For example, I would like to take 7 text boxes from a Word doc and copy them separately into 7 boxes in the Indesign doc, rather than have to go back and forth into the Word doc. 7 times and pasting each text box one by one.
    See the screenshots
    Thank you in advance,
    Enrico

    That looks a lot like case for Data Merge. It won´t give you any tools for copy/pasting multiple textboxes but with little work, you could make a template where you could drop multiple Items like you have in your screenshot. It won´t work with docs, but if you can convert your stuff to excel, then it would be quite nice solution for you.

Maybe you are looking for

  • Moving images from computer hard drive to external hard drive

    Hi all, Currently trying aperture2. I'd like to move my photo library from my computer's hard drive to an external hard drive. Not quite sure how to do it and would rather not end up deleting everything. I'm sure its pretty straightforward but though

  • Can I load adobe audition 3.0 sessions to garage band?

    Can I load adobe audition 3.0 sessions to garage band?

  • HP DV6 , Not Charging

    I have HP DV6 pavillion series laptop, 1211ax,  it is now 5 years old, Recently it started showing a problem, when I plug in the charging cord into the socket of laptop ( while laptop is off) the LED turns on but after few seconds it turns off, it ke

  • Problem: Elements 12 insists that I license this software every time I open Editor.

    Situation:  I installed a previously used E12 program onto new WIN8 desktop.  Everything was fine.  A few days ago it insisted (and continues to every time I open Editor) to license this software.  I enter serial #, and I'm allowed to proceed. Hint: 

  • Subfolders - again

    I really have exhausted the many posts that discuss importing the folder/subfolder structure from a hard drive into the Aperture library. I've read the Aperture manual, bought the Digital Workflow "Apple Aperture 2" book, and read through several Int