Join multiple pieces of text

Does anyone know of a script that will take little pieces of text in CS4 & CS5, and join them into one piece so that the text is easier to edit? I've tried joining the text by selecting it, cutting it , and putting it into a text area, but the type often gets scrambled doing it this way.

There are a couple of scripts already about that do this… Is your broken up text from PDF where the kerning shatters it? This link has 2 examples:
http://ajarproductions.com/blog/adobe-extensions/

Similar Messages

  • How to merge multiple XML or Text documents into 1 Word Document?

    Hi all,
    We're looking for a way to merge multiple XML or Text documents into 1 Word document.
    All the XML or Text documents are oriented as a 'Paragraph', meaning smaller pieces of text.
    By selecting some of these XML documents, the system should be able to create a new Word document with all the selected text paragraphs included.
    The Word document can then be edited for applying a correct lay-out and the document is ready.
    Actually, we are trying to do some kind of 'mail merge' but with multiple XML or Text documents!
    Has anybody an idea whether something exist already or give us a direction how to proceed?
    Thanks in advance,
    Pascal Decock

    You use Assembler for this purpose.
    1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html
    API Quick Starts (Code Examples) > Assembler Service API Quick Starts
    2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="out.pdf">
      <PDF source="inDoc1"/>
      <PDF source="inDoc2"/>
    </PDF>
    </DDX>
    http://forums.adobe.com/message/4019760#4019760
    DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf
    Steve

  • I accidently cut a piece of text out of a mail message

    I accidently cut a piece of text out of a mail message the copied a different piece of text with out thinking is thee any way to get the first piece of cut text back?

    Welcome to Apple Discussions!
    Mail supports multiple undos. Keep on undoing from the Edit menu! Not sure how far back that undo buffer is, but keep on trying. If it doesn't work, test it so you know for the future.

  • Selection issue with Multiple containers when text re-flows

    Hi,
    I am building an EPUB reader in Flex 4.51. using TLF 2.0.3. I have text running across multiple containers. We add the controllers dynamically to ensure that there are as many containers as the content can have. Now, we updateAllControllers when status of a graphic element changes or when there's an increase in font size. So, after each activity we add more controllers if required. The text and images correctly reflow to the next container in this case. However, the issue comes with selection. If a piece of text reflows from one container and moves to another, when we try to select it, it doesn't highlight.
    The SelectionChange event triggers and the values are mostly correct but no highlighing. We noticed that if we remove all controllers and recreate them, the issue is resolved. But, we cannot remove and add containers each time font size changes.
    Kindly help and let me know where can the issue be? Remember that the text correctly reflows to containers and it's only the selection that doesn't work. This is a very common scenario for a reflowable content holder so I am sure I am missing something obvious. Please help.

    I found the root cause of the bug is in removeAndRecycleTextLines() of ContainerController.as. The private "_textBlock" properties of some paragraph elements are incorrectly set as null there. When we want to get TextLine from TextFlowLine by getTextLine(), because paragraph._textBlock is null, TLF actually recreates some new, unused TextLines to return, which are not the ones on the sprite....
    The fixed function is as follows and the bold, italic lines is the fix. I just modified a condition. It passed all existing test cases. I'm not sure it could be all right with your project. If it is still not OK for any of your scenarios, please tell us and we will appricate your feedback.
    private function removeAndRecycleTextLines (beginIndex:int, endIndex:int):void
                var backgroundManager:BackgroundManager = textFlow.backgroundManager;
                var child:TextLine;
                var textBlock:TextBlock;
                for (var index:int = beginIndex; index < endIndex; index++)
                    child = _shapeChildren[index];                   
                    removeTextLine(child);
                    CONFIG::debug { Debugging.traceFTECall(null,_container,"removeTextLine",child); }
                    // when we've removed all the lines in the paragraph in shapeChildren, run through the textBlock and if all lines are not in view,
                    // release the lines from the TextBlock, and release the TextBlock itself.
                    if (child.textBlock != textBlock)       
                        if (textBlock)
                            releaseLinesInBlock(textBlock);
                        textBlock = child.textBlock;
                // Bug #2988783  -By Jin Huang
                // releaseLinesInBlock() be called here only when
                // 1. the end of final container
                // 2. the end line of TextBlock is the end line of the container
                if (textBlock && (textBlock.lastLine == child || flowComposer.getControllerIndex(this) == flowComposer.numControllers - 1))
                    releaseLinesInBlock(textBlock);
                // Recycle lines not in view and not in the TextBlock
                if (TextLineRecycler.textLineRecyclerEnabled)
                    while (beginIndex < endIndex)
                        child = _shapeChildren[beginIndex++];
                        // Recycle if its not displayed and not connected to the textblock
                        if (!child.parent)
                            if (child.userData == null)
                                TextLineRecycler.addLineForReuse(child);
                                if (backgroundManager)
                                    backgroundManager.removeLineFromCache(child);
                            else
                                var tfl:TextFlowLine = child.userData as TextFlowLine;
                                if (tfl && tfl.controller != this)        // don't release lines that belong to other containers
                                    continue;
                                if (child.validity == TextLineValidity.INVALID || (child.nextLine == null && child.previousLine == null && (!child.textBlock || child.textBlock.firstLine != child)))
                                    child.userData = null;
                                    TextLineRecycler.addLineForReuse(child);
                                    if (backgroundManager)
                                        backgroundManager.removeLineFromCache(child);

  • Joining multiple albums

    I have a 3 CD set of the opera Aida, which I would like to join all the songs of into one long piece so it will always play all together on shuffle mode. Is there any way to join multiple CDs? I tried to burn all onto one CD so I could import it from one disk, but there wasn't enough room on the CD. I was able to fit it onto a DVD, but I wasn't able to join from the DVD.
    Any ideas??
    Thanks

    Hi, welcome to Apple Discussions.
    If you join the 3 CDs into one album within iTunes in the manner outlined in One cover for multi-disc album, then select all the tracks and set the Grouping field to "Aida" then *Shuffle by Groupings* should treat the album as a unit.
    tt2

  • Multiple selection of text

    For years now I have wished I could select multiple strings of text but have never figured out how to do it. Multiple image placement is allowed now but, as far as I can see, not this. Am I missing something simple. I often want to select all the text on a page for conversion to, say italics, and am fed up having to do it one my one. Any advice appreciated. Hopefully I've just been dumb! Thanks.

    [ I hope this post comes off with the proper verve. ]
    User interfaces are hard. And they are evolving.
    If every app out there had non-contiguous selection support, it would be really weird for Adobe InDesign not to have it.
    More and more apps are getting non-contiguous selection support. And for some people, Microsoft Word is every application. They write their email in it, they post the this forum in its web browser, they read and write papers, RFPs, proposals, memos, and storytales for their children in it. To such people, if Word does something, anything else that doesn't do it is strange.
    Indeed, they may not be far from wrong, Word has a huge market share and huge market penetration. So I suspect it's just a question of time before the OS's standard GUI selection interface permits non-contiguous selection, and then Adobe will have to update theirs and if they're late to the party, it will well be recognized.
    This has nothing to do with whether the feature is actually useful. It might even be anti-useful, as some have suggested.
    But discoverability is also very important. You can have 100 useful features and 1 feature that is not-quite-as-good but is very discoverable: the feature that's very discoverable is better because people will find it and use it.
    That's what we have with the eyedropper. Nobody knows about it, nobody thinks about it, and very few applications have eyedroppers that work on text. (Also, ID's eyedropper is problematic because its behavior is quite modal but you can't see the modes; it's easy enough to set it for something a few months ago and then wonder why it no longer works for the thing you wanted it to).
    My good colleague Jongware knocks on rectangular selection
    Whoops TextEdit!! It even supports rectangular selection.
    and Joel joins him. Rectangular selection is awesome. It really became popular with the release of Emacs 19 in 1994, which introduced C-x r as the prefix for rectangular commands, and had these:
    ** Some C-x key bindings have been moved onto new prefix keys.
    C-x r is a prefix for registers and rectangles.
    C-x n is a prefix for narrowing.
    C-x a is a prefix for abbrev commands.
    C-x r C-SPC
    C-x r SPC     point-to-register    (Was C-x /)
    C-x r j          jump-to-register     (Was C-x j)
    C-x r s          copy-to-register     (Was C-x x)
    C-x r i          insert-register      (Was C-x g)
    C-x r r          copy-rectangle-to-register  (Was C-x r)
    C-x r k          kill-rectangle
    C-x r y          yank-rectangle
    C-x r o          open-rectangle
    C-x r f          frame-configuration-to-register
    (This saves the state of all windows in all frames.)
    C-x r w          window-configuration-to-register
    (This saves the state of all windows in the selected  frame.)
    This was critical. Before when you had an operation where you wanted to cut some columns off of some text, for instance, you used to have to mess around with cut(1), or if you had a system that didn't have cut, then you had to use awk(1)'s substr() function. Suppose you had an ls(1) listing like this and you noly wanted the sizes and the filenames but not the dates:
    $ ls -l
    total 648
    drwxr-xr-x   4 writer  staff     136 May 23 17:57 Applications
    drwxr-xr-x+ 19 writer  staff     646 May 23 18:05 Desktop
    drwx------+ 16 writer  staff     544 May  7 18:47 Documents
    drwx------+  7 writer  staff     238 May 16 18:08 Downloads
    drwx------+ 44 writer  staff    1496 Mar 10 18:23 Library
    drwx------+  3 writer  staff     102 Sep 14  2010 Movies
    drwx------+  5 writer  staff     170 Mar 10 17:40 Music
    -rw-r--r--   1 writer  staff       0 May 23 18:26 My Test
    drwx------+  4 writer  staff     136 Sep 14  2010 Pictures
    drwxr-xr-x+  5 writer  staff     170 Sep 14  2010 Public
    drwxr-xr-x+  5 writer  staff     170 Sep 14  2010 Sites
    $
    (Yes, I know, in this case you can just use awk to pull out columns 7 and 8-end; but the syntax for the latter is annoying, as is dealing with fields containing spaces.)
    If you used cut,  you'd have to figure out the column positions, which is annoying. Most people just guess the numbers and see if it works, and then adjust it, though of course you could measure it.
    $ ls -l | cut -c 30-37,51-
        136 Applications
        646 Desktop
        544 Documents
        238 Downloads
       1496 Library
        102 Movies
        170 Music
          0 My Test
        136 Pictures
        170 Public
        170 Sites
    329521 log
    $
    and if you didn't have cut, you'd do it with awk: awk '{print substr($0,30,8) substr($0,51)}'
    Suddenly, with emacs 19, this common task was easy. You could just select the rectangles you didn't want and delete them. It was wonderful!
    Now, maybe you don't work with tabular ASCII text that's line up in columns and have to do stuff like extract columns. But I do on a somewhat regular basis. And rectangular selection, be it in Emacs or TextEdit, is really handy. It makes it quick to lop something off the beginning of the line. There are a dozen ways I could do it, including awk, perl, sed, cut, Excel, regular expressions, etc. But by far using rectnagular selections is the easiest and cleanest.
    (I'm willing to believe most InDesign power users have no need for rectangular selection. I've used it when dealing with tabular data in preparation for formatting tables in InDesign. Or with stuff like adding $'s to a column where someone didn't bother to do it before they exported the data from Excel.)
    In an app that has less-than-robust style management, it makes sense, I guess.
    Really nothing to do with styles. Oh, and we hardly even touched on the fact that not only can you select in rectangles, but you can cut and paste them. Rearranging puzzle blocks on your Cartesian grid of the universe.
    Pure and utter bliss.

  • Multiple Lines of Text For Each Clip in Project Panel

    Premiere CC latest update. Mac Mavericks
    I would like to disply multiple lines of text for each clip in the Project Panel.
    I have a couple paragraphs in the Description box, and I would like to be able to read all the text in the Description box.
    As it stands, it is very difficult to read more than one sentence in the Description box.
    Is there any way that I can view all the text in the Description box?

    Hi sats_sandy,
    To keep some tags and remove unused tags in the schemaxml file the multiple line of text, you can use regular expression to remove the unwanted tags.
    Here is a sample code snippet:
     private static string RemoveSpecifyHtml(string ctx) {
                string[] holdTags = { "a", "img", "br", "strong", "b", "span" };//tags to be reserved
                // <(?!((/?\s?li)|(/?\s?ul)|(/?\s?a)|(/?\s?img)|(/?\s?br)|(/?\s?span)|(/?\s?b)))[^>]+>
                string regStr = string.Format(@"<(?!((/?\s?{0})))[^>]+>", string.Join(@")|(/?\s?", holdTags));
                Regex reg = new Regex(regStr, RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.IgnoreCase);
                return reg.Replace(ctx, "");
    Thanks,
    Qiao Wei
    TechNet Community Support

  • How can I change or reduce the line spacing to single in a "multiple lines of text" column in a list?

    We keep many logs in a simple list format. One of the columns requires a description using the "multiple lines of text" default column. Sometimes the person making the entry needs to complete about 20-30 lines of text. Users are requesting we reduce
    the amount of space advanced between lines to save space and be more concise. Is there a way to reduce the line spacing for the column entries to single spacing without code?
    Maree N Percival

    We determined that the site column settings were incorrect for allowing single spacing, we changed the site column setting from "Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" to  "Rich text (Bold, italics, text alignment, hyperlinks)"
    and it is now keeping the text in single spaced lines.
    <label for="onetidRichText">Specify the type of text to allow:</label> 
    <input id="onetidRichTextPlain" name="RichText" title="Plain text" type="radio" value="PLAIN" />
    <label for="onetidRichTextPlain">Plain text   </label>
    <input id="onetidRichTextCompatible" name="RichText" title="Rich text (Bold, italics, text alignment, hyperlinks)" type="radio" value="COMPATIBLE" />
    <label for="onetidRichTextCompatible">Rich text (Bold, italics, text alignment, hyperlinks)</label>
    <input id="onetidRichTextFullHtml" name="RichText" title="Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" type="radio" value="FullHtml" />
    <label for="onetidRichTextFullHtml">Enhanced rich text (Rich text with pictures, tables, and hyperlinks)</label>
    Maree N Percival

  • ITunes no longer lets me display multiple pieces of artwork attached to the same song.

    I have scanned the covers, the backs, and some of the liner notes for most of the songs in my 38,000 song library.
    Earlier versions of iTunes diplayed small arrows in the frame above the artwork viewer in the main window whenever more than one piece of artwork was attached to a selected song.  Sometime last summer these arrows disappeared and I can no longer view anything but the cover artwork.
    When I show the get-info dialog for a single song, the artwork tab still shows all the pieces of artwork that I added so the art is all still there.
    If I drag any of these pieces of artwork from that get-info pane onto the desktop, the resulting file is the size and quality of the original artwork added to that song.
    I went to the apple store and added one song to the iTunes program running on one of their laptops.  I added multiple pieces of artwork to that song and the arrows appeared above the artwork viewer as they did in the past with the iTunes I have running at home.
    Has anyone had a problem like this?
    I am using a mac pro with 2 x 2.8GHz Quad-Core Intel Xeon processors and 8GB of 800MHz memory.

    This is also driving me nuts. Particularly annoying is the fact that if you add a second piece of artwork by pasting it into the artwork window in the lower left corner, the arrows that used to let you scroll through the artwork reappear for a short time!
    So I don't think this is a feature, but an error somewhere and it has been missing across MANY updates
    Please go to "Provide Feedback" iTunes and ask for this feature to be fixed. I've done it many times but my guess is unless they have multiple complaints that this is a low priority issue for Apple.

  • How do I join multiple Contacts on my iPhone 5?

    How do I join multiple Contacts that are exact or very similar on my iPhone 5?  When I bought my iP5, I merged my contact from my android phone but almost all of my contacts were duplicated (I now have over 4k contacts) in this process.  Any suggestions are appreciated.

    The app My Contacts Backup Pro will identify and delete identical duplicate contacts.

  • How Do You Add Multiple Pieces of Art to Albums?

    I know that you can add multiple pieces of art to individual songs. However, when I click "Info" on an album (or when I select multiple songs), I can only add one piece of art. I want to add art from the front and back of a CD, but I do not want to have to do this by going song by song. Any ideas on how to do this quickly? Thanks.

    there is no built-in way to do this. the only way i know is by using Mail Scripts
    http://homepage.mac.com/aamann/Mail_Scripts.html
    it has a script "Add addresses" that does just what you want.

  • How do I join multiple (short) audio clips into one single long audio clip in Premiere Pro CS5?

    Hello,
    The question is in the title but I'm wondering how I can join multiple (short) audio clips into one single long audio clip in PP CS5.5.  I put all my short clips right next to each other and selected all of them to see what options are available by right clicking and using the toolbar options at the top.  The closest that I got was to nest the sequence, but that's not what I really want.
    I'd like to merge all the short clips into one single (long) audio file to use under the video.
    Thoughts are welcome and  greatly appreciated.
    Thanks,
    -Melvin

    O.K. This is kind of fundamental and you will need to learn up on this fully ...but for now...
    Make sure you have the WAB ( work area bar )covering the length of the audio clips. ( You do not need to select them)
    Go to the File Menu> Export Media
    You will be given all the Export Options.  Choose Wave File
    Select option for Export Work Area.
    Choose where to export the file to ( HD location)
    follow your nose from there....
    http://tv.adobe.com/watch/learn-premiere-pro-cs5/exporting-with-adobe-media-encoder/
    BTW - Why are you taking the audio to Audition anyway? What are you going to do to it.

  • Getting the Physical Length of a Piece of Text (in mm etc.) in Javascript

    I'm trying to write a script in Indesign CS5 (Windows) that can measure the physical, 'rendered' length of two pieces of text of similar length (in mm etc.), calculate the average length of the two, and adjust the tracking/horizontal scale of one or both of the pieces of text so that the physical length of both texts are the same.
    I need a script because this task must be done thousands of time in a long document.
    I'm struggling to find a way to access the 'rendered' length of a piece of text in Javascript.
    I know among the attributes of a text box is whether the text has overrun. So I could copy the text to a special text-box, and use a for loop to reduce the dimentions of the text box, 1mm at a time, until the text box overruns, thus determining the length..
    I could also get the length of a rendered string using python with it's built in GUI toolkit Tkinter:
    http://stackoverflow.com/questions/2922295/calculating-the-pixel-size-of-a-string-with-pyt hon
    And then have an indesign script that takes some data from the python script and sets the tracking/horizontal in Indesign with some fudge factors.
    Both ideas seem like real kludges.
    Any other suggestions?
    Many thanks
    David

    You can simply iterate through each line in text to get the widest line. Something like this:
    Main();
    function Main() {
        var text = app.selection[0],
        minLength, maxLength, start, end;
        for (var i = 0; i < text.lines.length; i++) {
            start = text.lines[i].characters[0].horizontalOffset,
            end = text.lines[i].characters[text.lines[i].characters.length-1].horizontalOffset;
            if (minLength == undefined || start < minLength) {
                minLength = start;
            if (maxLength == undefined || end > maxLength) {
                maxLength = end;
        var length = maxLength - minLength;
        $.writeln(length);
    But this approach seems to be a little less precise than creating outlines since (I guess) it measures up to the beginning of the last character; discretionary hyphens, line brakes, etc. are not included into the measurement.

  • Returning a piece of text in a SELECT

    Hello!
    I'm doing a search in a table that has four fields:
    ID
    NAME varchar(128)
    TEXT1 varchar(500)
    TEXT2 varvhar(500)
    Well, I need to search for a word in fields TEXT1 and TEXT2. My
    first step is to do the following:
    SELECT ID,NAME
    FROM TABLE
    WHERE CONTAINS(TEXT1,'word',1) > 0
    AND CONTAINS(TEXT2,'word',2) > 0
    Well, til here is all ok, but now... I need something more
    difficult:
    I need to obtain for each ID, the piece (or the first piece) of
    text where 'word' was found on, considering that this word can
    be allocated in TEXT1 or in TEXT2.
    Thank you very much!!
    Carlos Moreno

    Carlos...
    I'm not familiar with the CONTAINS function, but I'll assume it
    returns a number greater than zero when the desired condition is
    met.
    The way your where clause is written, the result set will
    include only those rows from TABLE where 'word' is in BOTH TEXT1
    and TEXT2.
    I'm guessing about what you want, but here goes...
    SELECT id
         , name
         , CONCAT( DECODE( SIGN( CONTAINS(text1,'word',1) )
                         , 1, CONCAT( 'From text1: '
                                      SUBSTR( text1
                                      , 1
                                      , INSTR( text1
                                             , 'word'
                                             ) + 3
                 , DECODE( SIGN( CONTAINS(text2,'word',1) )
                   , 1, CONCAT( ' From text2: '
                                SUBSTR( text2
                                , 1
                                , INSTR( text1
                                       , 'word'
                                       ) + 3
                 ) AS text
      FROM table
    WHERE CONTAINS(text1,'word',1) > 0
       AND CONTAINS(text2,'word',2) > 0
         ;The column text should contain the contents of columns text1 and
    text2 up to 'word', prepended with the 'From text1;' and 'From
    test2:'
    If the AND in the where clause is replaced with and OR, then the
    parts of text1 and text2 will only be returned if the
    contain 'word'.
    I did not test this code.
    Good Luck...
    -

  • Best approach to join multiple statistics tables into one

    I have read different approaches to join multiple statistics tables into one, they all have a column "productobjectid".
    I want to get all data for each product and put it to excel and output a jpg statistic with cfchart.
    How would you do this, the sql part?
    Thanks.

    A couple suggestions:
    1) when joining tables, its best to list both table/fields that you are joining in the FROM clause:
    FROM shopproductbehaviour_views INNER JOIN shopproductbehaviour_sails ON shopproductbehaviour_views.productobjectid = shopproductbehaviour_sails.productobjectid
    2) You add tables to a SQL join by placing another join statement after the SQL above:
    SELECT *
    FROM TableA INNER JOIN TableB on TableA.myField = TableB.myField
    INNER JOIN TableC on TableA.anotherField = TableC.anotherField
    3) If you have columns in the tables that are named the same, you can use column aliases to change the way they appear in your record set:
    SELECT TableA.datetimecreated 'tablea_create_date', TableB.datetimecreated 'tableb_create_date'
    4) Certainly not a requirement, but you might want to look into using <cfqueryparam> in your where clause:
    WHERE shopproductbehaviour_sails.productobjectid = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#all.productobjectid#">
     You might want to consider checking out one of the many tutorials on SQL available online.  Many of the questions you posed in your post are covered in pretty much every basic SQL tutorial.  Alternately, a good SQL book is worth its weight in gold for a beginning web applications developer.

Maybe you are looking for

  • Query for update

    . I have a table with a column city. The values are delhi and banglore. I need to update banglore with delhi and delhi with Banglore

  • My ipod is formatted to windows, I now have a mac...

    Hi, my ipod is formatted to Windows, but I now have a mac. Is there a way to change it, and what difference does it make? Any help would be appreciated x

  • Printing SOAP Contents

    I have two programs, the Server.java and Client.java. The Client creates a simple SOAP message and send to the server. The server listens to the port and print out whatever it received from the port:  // Server.java ----------------------------------

  • Cannot install iPod

    This is perhaps a problem that has been answered many times before, so apologies if this is the case. I am using a Toshiba Satellite laptop and have installed all software from the iPod CDROM. The laptop has a USB 2.0, power save mode on the ports ha

  • Business Conectior between EBP and CCM

    Hi I have one question Do we require any  business connector is for exchange of data between EBP and the catalog content management ? I think we just need OCI for transfer of data ...  Is there any other Business connector is required. Nitin