Import multiple Word docs to multiple pages with same master page?

Hi, I should start by saying I have no scripting experience.  However, I am wondering if there is a simple script available for the following issue:
I have set up a master page with three linked text boxes. Right now, I use Cmd+D to select a word file, and then Shift+click in the first box to place the text on the page. But I have 125 pages that are exactly the same layout, just different Word files to be imported. I could repeat this process 125 times, but I am wondering if there is a way to tell InDesign to create 125 pages using Master Page X and import one file for each?
I am using InDesign CS5 v 7.0.4 on Mac OSX Snow Leopard v 10.6.7
Thank in advance for any help you can offer,
NW

I was able to import the word documents as long as there was only one text frame on the master page. However, when I created multiple text frames (the text in the word document needs to flow from frame 1 to frame 2), it always imported into frame 2 and skipped frame 1. In case it is helpful to understand what I mean, I attach two screenshots. The first (sans text) is the master page, and the second is Page 1 after running the script. I added the labels Frame 1 and Frame 2 to Page 1, not the Master, because otherwise the text gets imported into the frame with the words "Frame 2". I suspect I have to label the frames in InDesign and then add something to the script that says insert into the Frame 1, but I'm not sure how to do that.
It wasn't clear from your narrative in June that the text frames were linked, and that the text needed to flow between frames.
The script, as implemented, only overrides one text frame, (textFrames[0],  which is the top-most text frame in the stacking order), and then places the text in it. Clearly that's not correct for your scenario.
You mention 3 frames but only mention flowing between 2 frames.
Anyhow, it sounds like you want the script to override all 3 text frames, and then to place in the first textframe.
The first is easy, the question is really what should happen when there are more than 3 text frames -- should it override all text frames, or only some. You could specify which ones with a Script Label, or you could do something more clever. For the moment, let's just override all text frames.
Then you have to specify which one to place into. You could just select the frame you want and Arrange > Bring To Front. Or we could specify frames[2], which should be the 3rd-from-the-top (after frames[0] and frames[1]). I'll do the latter, but feel free to keep the script the same and do the former:
var
    d=app.activeDocument,
    p=d.pages,
    i, frames;
for (i=0; i<p.length; i++) {
    frames = p[i].appliedMaster.textFrames.everyItem().override(p[i]);
    frames[2].place(new File("/path/to/page"+p[i].name+".doc"));

Similar Messages

  • How to import MS Word docs into a Wiki (with embedded images

    What is the best way to import a lot of large MS Word docs (50+ pages) with images into a Wiki-Folder?
    I know that you can copy&paste the text and still preserve the formatting, but i'd still have to import the images manually.
    Is there something planned like Word2MediaWikiPlus?

    Originally Posted by rkattenberg
    Use webdav of set up a email feader.
    I don't understand. If we use Webdav, we can access and share Office-documents, but we want to create a Wiki-structure with links etc.

  • Importing multiple albums with same name

    I have two different soundtrack recordings of a movie, which I am trying to import from CDs. But iTunes 10 keeps munging the tracks into a single album and I have not found a way to keep the albums separated. I've loaded one and changed the album name by adding "Original Soundtrack". Then trying to import the other version, iTunes pops up a message about duplicate tracks and overwrites into the previous directory even when I check "Don't Replace".
    I've seen a lot of questions about how to delete duplicate albums, but I can't find a way to get near-duplicates into the library. Any suggestions?

    iTunes uses a maximum of 40 characters for file and folder names. if the original album title is long enough they may still clash at the folder level before you add any extra text.
    When the CD is sitting in your drive & before you start ripping, you can use Get Info. to edit indivdual tracks or properties for the whole album, e.g. set the Album title, complete the Album Artist field, or select Part of a compilation.
    If iTunes is recognising both albums (which you say are distinct recordings) as being the same thing then perphaps your edits get stored in the local database and applied to the second album when it is inserted into the drive. You should however be able to select any particular set of tracks and give them the albun title you feel is appropriate without anything else being modified.
    tt2

  • I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message:  Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.

    Julian,
    Pages simply won't support a table with that many rows. If you need that many, you must use another application.
    Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
    There are probably other ways, but that's what comes to mind here.
    Jerry

  • When i import a word.doc and open on my iPad in  Pages, and then later export and reopen as a word.doc on my PC, hyphenation is lost

    when i import a word.doc to my iPad in Pages and then, later, export back to my PC as a word.doc, why does hyphenation disappear?

    Perhaps it would work better if you use one of the apps specifically designed to interface with MS Word, instead of Pages which has to convert everything in and out.

  • Import multiple rows with web services WSDL

    I want to write a procedure in which I can import multiple Datarows with multiple Datafields into a table.
    This procedure should be accessed by web service.
    Is it possible? How? Examples?
    Regards,
    Julien

    Hi Debbie,
    Whiel Creating table you need to be care full that use chose INPUT FIELD as the CELL EDITOR. Just guessing that if ur table is not editable u might have choosen TextView as default cell editor type.
    check link for details on TABLE UI
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm]
    easy way is to first add UI ELEMENT TABLE to your VIEW, then right click over it & select create binding from context. After you have a pop up where you can select what columns you want what should be its cell editor etc.
    Greetings
    Prashant

  • Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?

    NH,
    This may seem a fine point, but iWork apps don't actually Open Office apps. They Import them. The reason I make this distinction for you is that when you view the result of the import, you may see some variations from what was in the Office document because of an imperfect translation, and when you make edits, you are editing an iWork document, not the original Office document.
    Jerry

  • How can I get back my Word docs now that Pages will not open them?

    How can I retrieve my Word docs now that Pages will not open them in Mavericks.  I have a brand new iMac with my evolving manuscript for a book transsferred from my now defunct MacBook Pro by external drive.  Pages tells me that "PowerPC apps are "no longer supported" and Mavericks will not open Microsoft Office, though it is still in Applications.  Would really appreciate ANY help!

    You will have to have an app that will open them first, you can upgrade to Office for Mac 2011 which is an Intel based app then open the docs and retry. Your docs were created with extremely old version of Office for Mac, version 2004!
    Another possiblity is  using a web based compatible MS Office for Mac app and see if it will open your doc and then save it, then attempt to re-open in Pages.

  • RoboHelp freezing when importing large word docs

    What are your experiences with RoboHelp for HTML Help when
    importing large Word docs?
    Mine seems to stop responding and has to be restarted. Also,
    creating PDFs for large docs seems to be a problem.
    While I am here, could someone please answer these questions:
    1. Does RoboHelp support conditional inclusion/exclusion and
    replacement of text? Where you can use a condition to display one
    text OR another.
    2. Does Robo support Modular Help?
    3. What about automating output generation using batch files?
    Is this possible?
    4. Can PDF outputs be customized using templates?
    it looks like Robo offers partial solutions to each of the
    above questions but I will like to hear your experiences, as I am
    on evaluation the tool with limited time.
    TIA.

    Hi zmajwa and welcome to the community
    Please review the Posting Guidelines. You may do that by
    clicking
    here. Why? Because at this point, you have made exactly two
    posts. You have asked the same question in two different places and
    it is frowned upon here as it creates confusion and more work for
    all involved.
    The original thread can be viewed by
    Clicking
    here.
    Thanks... Rick

  • Using camera accessory, I have imported photos to my iPad 3rd generation. By mistake I have imported multiple copies of same photos. Now if I want to delete additional copies I can't. It gives me only one option "Delete everywhere" instead of delete 1copy

    Using camera accessory, I have imported photos to my iPad 3rd generation. By mistake I have imported multiple copies of same photos. Now if I want to delete additional copies I can't. It gives me only one option "Delete everywhere" instead of delete one by one, so that I can keep one copy of that photo.
    Is there a way to delete additional copies of a photo and keeping only one?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Images not importing from Word doc

    SORRY MODS - Accidently posted this in the HTML Help forum
    I'm having trouble getting my images placed in a Word
    document to import ito my project. I have RoboHelp 2002 and first
    experienced the problem there, thought I'd try the upgrade to see
    if that fixes the problem. It did fix my step numbering problems
    (all steps were numbered Step 1), but the image import problem
    remains. The images are .jpg images and most were placed in Word
    using Insert Image. Some were just copied and pasted. Regardess of
    how the images were included in the doc, none come through in an
    import. Am I doing somethig wrong? I've tried importing it as a
    Word 2000 and a Word 2003 doc with no luck.
    Thanks in advance for any advice!
    Mike

    I had the same issue and could get no good advice on how to
    fix it. What I finally did was take the embedded images from the
    Word doc and save them in another location. I then inserted them
    back into RoboHelp after I imported the Word doc. It's a little
    tedious, but it worked.

  • Read multiples files with same extension

    how to read multiples files with same extension in java.
    for ex : i would like to read all .DAT files from C drive using java.
    How is it done

    - You create the filter
    - You get the list of files
    - You open and read each file.
    For the first two above you look at java.io.File and listFiles(FileFilter filter).
    For the third you find whatever input stream is appropriate from java.io.*

  • How do I avoid importing MS Word file duplicates in Pages for Ipad 2?

    How do I avoid importing MS Word file duplicates in Pages for Ipad 2?

    Hi Cabrinii,
    The sign on the door is a bit misleading, and you're not the first (or even the first in the last hour or so) to come to this Pages (Mac version) forum to ask a question about Pages for iOS.
    Not many of us use iPad, so your question will be better served in the iWork for iOS community. The link will take you there.
    Regards,
    Barry

  • Multiple accounts with same email

    I have multiple accounts with same email
    The one that has all my contacts is the one attached to FB but for some odd reason I can no longer access this specific account
    When I try to reset my password, it only keeps asking me to change my FB password
    Once I try logging in on Skype, it keeps asking my FB to connect to the other 2 Skype accounts, completely diffente usernames
    I am only interested in the one that originally connected to my FB as it has all my contacts
    As my other 2 accounts are my old Skype accounts and have my old contacts from years ago

    Actually this morning I was able to log on the account from an iPad with no fuss but the pc refuses to sign in^^^!???! "Skype couldn't connect" - What is going on???
    I also found out that I could sign in via a browser but not via skype program... So I uninstalled it and installed it again and it's working now...
    I have now changed the email so I don't have 3 accounts with the same primary email as Skype seems to not being able to handle multiple accounts with same email!!!

  • Multiple members with same alias

    I have multiple members with same alias name. Are there anyway to build dimension members with same alias name?

    Typically I will concatinate the member name (as either a prefix or suffix ) to the Alias to make it unique

  • Mounting multiple directories with same name on different severs to a single mount point on another server

    We have a requirement where in we have multiple solaris servers and each solaris server has a directory with the same name.
    The files in these directories will be different.
    These same name directories on multiple severs has to be mounted to a single directory on another sever.
    We are planning to use NFS, but it seems we can not mount multiple directories with same name on different severs to a single mount point using NFS, and we need to create multiple mount points.
    Is there any way we can achieve this so that all the directories can be mounted to a single mount point?

    You can try to mount all these mount points via NFS in one additional server and then export this new tree again via NFS to all your servers.
    No sure if this works. If this works, then you will have in this case just an additional level in the tree.

Maybe you are looking for

  • New version of iTunes will not open says problem with QuickTime

    Followed all instructions to unload/reload QuickTime still same problem iTunes will not open due to problem with QT so removed both iTunes and QT and reloades still shows message and will not open iTunes.

  • Complex Header on RTF Template

    Hello all, I have an issue with an RTF template and I really hope you have a minute to help me out. I'm really new at this stuff. This is for Purchase Order (PO) printing on Oracle eBusinesss Suite. On the template I need the first rows from a table

  • How to get information about downtimes of application servers?

    Hi, I would like to know, when an application server was down and came online again - downtimes and dates. As far as I know, there must be a possibility by using transaction AL11. One of the folders provides information about it, but I do not know wh

  • Advantages Of XML Type Views

    Hi Every one, I am pretty new to XML Type views, and just want to ask few questions to every one. May be they do or don't belong here.. but help me out... 1. What are the advantages of XML Type Views? 2. Why should I prefer to use XML Type Views? (Is

  • Macro Help

    Dear Macro Experts I wrote this macro IF KF2 in period 4 > Average of KF2 from period 1 to 3, Action POP UP a message individually for each period beginning period 4. ENDIF That works but here is what I experience I need to click on the information m