Replace the 100 pages with Lorem Ipsum?

OK really puzzled

I have 100 pages in Word of the text, and I need to replace the Lorem Ipsum text.

Plan was to import text into InDesign, keep the styles, so forth and so

But how would we go about replacing all the Lorem Ipsum text, while retaining the text, character for character, line for line, Word for Word, style?

(this plan is to export the text to RTF to word and copy and paste the copy into Word)

An operation what strange

You can not easily replace the text character by character. Word by Word, however, was quite fun exercise.

This script retains the original formatting, but replace the frame selected by your standard Lorem text (threaded) content. As a side effect, all signs of punctuation is also retained - which is caused by the replacement of words objects. Perhaps you meant, maybe it isn't.

(Save it as "ScrambleTextToLorum.jsx" in your scripts folder; select the first block of text to loremize, double-click the script is running.) Wait a little.)

if (app.selection.length != 1 || app.selection[0].constructor.name != "TextFrame")
{
 alert ("Ground. Pull up. Ground. Pull up."); exit(0);
}
// Save selection
targetStory = app.selection[0].parentStory.texts[0];
// Make a Lorem frame
loremFrame = app.activeDocument.textFrames.add();
loremFrame.geometricBounds = [ "0mm","0mm", "200mm", "200mm" ];
loremFrame.insertionPoints[0].appliedFont = "Times New Roman";
loremFrame.insertionPoints[0].pointSize = 8;
loremFrame.contents = TextFrameContents.PLACEHOLDER_TEXT;
sourceStory = loremFrame.texts[0];
// Grab its words
sourceWords = sourceStory.words.everyItem().contents;
// .. and kill the placeholder
loremFrame.remove(0);
// Replace one word at a time. Start at the end.
sourceWord = 0;
destWord = 0;
while (destWord < targetStory.words.length)
{
 targetStory.words[destWord].contents = sourceWords[sourceWord];
 destWord++;
 sourceWord++;
 if (sourceWord >= sourceWords.length)
  sourceWord = 0;
}
alert ("Safe landing. Have a nice day.");

Tags: InDesign

Similar Questions

  • Is it possible to have the 'Home' icon to open a new tab instead of replacing the current page to the homepage?

    I would prefer the 'Home' icon on the Navigation toolbar to open a new tab instead of replacing the current tab with the homepage. Is there a way to do this?
    Thank you.

    If you middle - click the home will open a new tab that contains the home page.

  • Is it possible to replace the hard drive with an SSD? or would it be too expensive?

    Is it possible to replace the hard drive with an SSD?

    or would it be too expensive?

    Yes.  There are several alternatives.  I found a way relatively inexpensive, using a map of mSATA (very small SSD) and an adapter to connect it to the connector IDE 44 pin internal of my PowerBook.  It works very well.  Rather than repeat what I posted previously, you can watch these two topics (which also has good info, other users)

    Re: This win to install a SSD drive in a PowerBook G4?

    Re: SSDS  (my post is halfway - "this is how I did with my trusty Pismo...) »)

    FYI - I have used the adapter is even cheaper now

    https://www.Amazon.com/GP/product/B009BA8V4M

  • Re: Tecra A9 - 11M - replace the HARD drive with a larger

    I have a Tecra A9 - 11 M with Windows XP Professional installed. I would like to replace the hard drive with a larger drive and install Windows 7 Professional.

    Any suggestions on recommended records say 500 MB?

    Difficulties to install Windows 7 on this model?

    Hey,.

    > Any suggestions on recommended records say 500 MB?
    I assume you mean 500 GB and not 500MB, right? ;)

    Well, the Tecra A9 already supports SATA interface and there is no limit of capacity on SATA interface, so you can install a 500 GB HARD drive or more (750 GB, etc.). Just make sure that it s 2.5 SATA HDD.

    You can choose each brand of HARD drive because each model will not work. You can buy a Toshiba HDD, Western Digital HARD drive or another. No problem ;)

  • Qosmio X 500 - 10W - can I replace the HARD drive with another?

    Hello

    I have a Qosmio X 500 - 10W with two drive HARD Toshiba MK5055GSX 500 GB 5400 RPM 8 MB? SATA II but is one of the hs so I'm wondering if I can be replaced by a more powerful style, drive HARD 750 GB 7200 RPM / min 16 MB Toshiba courses?

    Thank you

    Hey,.

    Your question is a bit hard to understand, but I think you want to replace the HARD drive with another (faster) model, right?

    Well, that s no problem. 7200 RPM hard drives works, they are a little stronger, but they're faster so if you need more performance without problem.
    750 GB or more are also no problem because the SATA interface is not the limited capacity. Theoretically 1 TB or more should also work.

    Anyway, you can buy the 750Go you mentioned that it will work. :)
    ?

  • I have the network wireless with an extreme airport using my base station that dessert 4 Airport expresses. I want to replace the base station with a time capsule from apple.  Are there specific instructions other that connect the new time capsule

    I have a wired to the internet using my base station for 4 expresses the hard extreme airport.  I want to replace the base station with a time capsule.

    It is also easy to replace the existing base station and adding the name of the network and the password?

    You should be able to transfer your configuration of your current access point to new, and then you would just set up the internal drive, try to look at these articles:

    ith-new http://www.TechRepublic.com/article/apples-Airport-extreme-out-with-the-old-in-w.

    -one-airport-extreme-or-time-capsule-to-http://www.iclarified.com/31189/How-to-Transfer-Your-configuration-settings-fromanother

  • ThinkPad Edge S430 - is possible to replace the hard drive with an ssd?

    Hey, Lenovo,.

    I bought a Thinkpad Edge S430 and wonder if it is possible to replace the hard drive with an ssd?

    Kind regards

    Mikael


  • He cannot receive my email on the same page with msn.

    Why I check my email on the same page with my email msn before?

    Hi Zetouncarey,

    I suggest you to contact MSN support for assistance on this issue.

    How to contact MSN customer service
    http://support.Microsoft.com/kb/940784

    Hope this information helps you. If you need additional help or information on Windows, I'll be happy to help you.

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • How can I replace the big picture with the poplet image and add an internal focus on the big picture?

    I need to replace the enlarged image with poplet image when you click on & also need a zoom internal on the big picture. It doesn't seem to be a simple way to do this. Js is available for this please?

    Just drag brett [at] prettydigital.com email Glenn.

    I think that your after...

    -Wide product displayed by default, click left and right you have a cursor of all images of poplet

    -Hover over the big picture without clicking, it's a zoom of the image or (which I think would be better) you click that or one of the poplet images and you have a model coming with a larger image.

  • When I connect to the adobe page with my adobe id, I see onl "free membership". Its my right adobe id. I'm invited into a "working group" how to enter the license key I bought?

    When I connect to the adobe page with my adobe id, I see onl "free membership". Its my right adobe id. I'm invited into a "working group" how to enter the license key I bought?

    You accepted the invitation? If not please accept and share the results. Please try different browsers in case you are unable to accept it.

  • Automatically replace the jpg files with the same file name TIFF.

    Is there a a way to automatically link the files by replacing the jpg files with the same exact file name TIFF?

    Thank you!

    Click on the link in the links Panel and open the Panel menu. Choose repeat the link extension.

  • I downloaded red CS6 plugin and added to the contents of the package, replaced the existing files with the new without saving, now my thumbnails images RED and the color correction do not WORK! How to bring back my old file importerRed! ?? Help!

    I downloaded red CS6 plugin and added to the contents of the package, replaced the existing files with the new without saving, now my thumbnails images RED and the color correction do not WORK! How to bring back my old file importerRed! ?? Help!

    Try asking in the forum Premiere Pro seems to be an Adobe first Pro Lab

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

  • Cannot change the ASPX page with Webdav connection

    I can't change the ASPX pages with webdav on my IIS6/win03 server connection. I connect to the site very much, but when I press the edit button I get an error message stating 'cannot lock the page for editing at the moment. Try again later. "I can edit pages html very well. I can edit ASPX pages if my connection is set to network and I am on a network share. I have even another server where I can connect with webdav and editing ASPX pages.

    Looks like a configuration problem on this particular server, but I have no idea what it is, and I can't find answers. Anyone had this problem before? How did you solve this problem?

    I tried to delete the LCK and defining files and the files from scratch, no luck.

    THX

    OK, I thought about it. If you run 2 sites in IIS, you must take pages aspx on extensions to the application. Go to the properties on the site that you have the connection to via Webdav and click the configuration button. Remove the entry for the aspx extension.

    I guess this is the answer for people having problems with other pages such as php and asp, server-side

Maybe you are looking for