How to reference the first word in a text frame (threaded)?

Hello.

I have a series of threaded text images.
I want to be able to reference the first word of each of them.
[This is no big deal to start the project and do it all on the fly].

Any ideas how I can get there?

Any help would be appreciated.

To get the content of the Word use myWord. content to move the Word use myWord. move (LocationOptions.AT_BEGINNING, myDestinationTextFrame);

Tags: InDesign

Similar Questions

  • How to add the first non-empty cell (text) in a row

    I have a table of several lines of contact details (phone, cell phone, fax and email) of people. I'm using these data to a data merge using an exported csv file and must include only the text (phone numbers and/or email) that is not empty.

    Column A - phone

    Column B - cell phone

    Column C - Fax

    Column D - Email

    Column E - first non-empty cell (between A1:D:1, A2:D:2, A3:D3, etc.)

    Column F - second non-empty cell (between A1:D:1, A2:D:2, A3:D3, etc.)

    Column G - third non-empty cell (between A1:D:1, A2:D:2, A3:D3, etc.)

    I tried to use some varieties of INDEX MATCH, but I don't do it just because its does not work properly.

    Any help would be appreciated. Thank you!

    You can try something like this:

    E2 = IF (ISBLANK (A2), "", MAX($D2:D2) + 1).

    This is a shortcut for, select cell E2, and type (or copy and paste it here) the formula:

    = IF (ISBLANK (A2), "", MAX($D2:D2) + 1).

    Select cell E2, copy

    Select cells E2 through H2, dough

    I2 = SIERREUR (OFFSET ($A2, 0, IFERROR (MATCH (COLUMN (−8), $E2: $H2, 0), ' ') −1), ' ')

    Select the cell I2, copy

    Select cells I2 thru K2, dough

    Select cells E2 K2 thru copy

    Select cells E2 at the end of the K column, paste

    You can hide the columns e to H what you like

  • Capturing the first word of a textbox

    Good, small problem, I can not understand how to get the first word in a text box. Here's the code that captures the full range:

    var LSTN = "LSTN" + xfa.form.OUTSTCHK12.FormPage1.Subform1.PayeeLastName.rawValue; ".

    If someone could help me please, I would be very grateful.

    Well, now you know ho to spread the word, it is just a case of assigning to another field. Assuming that the other field is called OtherField, you would use a command like this:

    OtherField.rawValue = words [0]

    Paul

  • How can I make Pages capitalize the first word in a sentence?

    How can I make Pages capitalize the first word in a sentence? The I phone t - it, the iPad does, why not not iMac using Pages capitalize the first word on a new sentence?

    Pages of IOS and IOS itself remain different implementations of Pages v5.6.1 for Mac and OS X. In any version of Pages v5, if there was an option to preferences in Pages ' 09, there is no auto-capitalisation function.

    See my previous post is launching an OS X App Store free application, which can be applied to auto-capitalisation to your Pages v5 documents.

  • GREP in parastyle - all the words in tiny paragraph outside the first word

    Hello. I hope for more assistance with the implementation of a GREP in a paragraph style.

    I'm composition several books and the many subtitles (all in the same paragraph style) are written so that each word is capitalized. The editor here now only the first word of each subheading to be capitalized, and instead of working my way through them manually, I was wondering if a GREP could achieve this? I know there are exceptions with proper names, but they are few.

    Any help appreciated, as any quick explanation on each part of the GREP so I understand better how it works!

    If the text was actually indexed using corks, it cannot be changed using GREP, but it may be film script. Script updated Dave Saunders style find/change case script would probably do what you want (change because of the sentence).

  • Taking the first word only

    Hello, I got a single column, I just want to take only the first word of this column

    Column of blabla
    Hello how are there you?

    Please tel me how I can take only first Hello there and if I want to take the second word in the first place that should I do thank you
    SQL> with t as
    (
     select 'Hello how are you' str from dual union all
     select 'God bless you' str from dual union all
     select 'Take care my love' str from dual
    )
    ---
    ---
    select str, regexp_substr(str,'\w+') str1, regexp_substr(str,'\w+ +\w+') str2 from t
    /
    STR               STR1              STR2
    ----------------- ----------------- -----------------
    Hello how are you Hello             Hello how
    God bless you     God               God bless
    Take care my love Take              Take care        
    
    3 rows selected.
    
  • Why no iphone 6 and iPad (mini and Air2) capital at the beginning of the first word in the search bar of Safari

    Why no iPhone 6 and iPad (Mini and Air 2) not capitalize first letter of the first word in Safari on the search bar?

    Web addresses contain no capital letters, nor do email. If looking at you any new credit card and it says to activate this card go to www.CardnameService.com/Activate, their meaning is www.cardnameservice.com/activate. It's the same thing.

    The above examples are that of the examples.

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • How to set the first character as selections in the EditField.

    Hi friends,

    I am a third-party application that I have to set the first character as capital.

    so please help me how to set the first tank as capital.

    Take a look at AutoTextEditField - maybe you can use this to do it automatically...

  • Receive emails from retailers who have 'click' as the first word.

    Original title: cannot find ' click on ' addresses?

    Lately I have received emails from retailers who have 'click' as the first word, such as click.elowes.com and I always get a 'not found '.  What is the problem?

    Hello

    As you use Windows Live mail, you can also post your request in the Windows Live forums to get help.

  • How to find the first Sunday and the second Saturday of each month

    Hi all

    How to find the first Sunday and the second Saturday of each month

    Thank you

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

    994122 wrote:

    Hello

    I need to pass the months parameter how to do this? like Jan, Feb etc... (one of those)

    Do you have a procedure?

    Should you output only for the months you passed in the parameter?

    The easiest way is to set the parameter as date. When you go such as p_date as DATE ' 2014-10-01', then you can

    PROCEDURE two_dates)

    p_date IN DATE

    p_first_sunday DATE

    p_second_saturday DATE

    )

    IS

    BEGIN

    p_first_sunday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-12', 'DAY'));

    p_second_saturday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-11', 'DAY')) + 7;

    END two_dates;

    Or you describe what you need.

  • How to put the first page to run?

    How to put the first page to run?

    Dimitri Gielis Blog (Oracle Application Express - APEX): Change the page (first) by default in APEX

  • What is the best way to change the color of the first word in a paragraph?

    I have a lot of paragraphs where I want that the first word to keep the same font, the size, the type - but I want to change just the color of the lettering.

    I suggest to do this:

    (1) change your BC 4567000000 to the following line:

    4,567,000,000 BC - name derived from Hades.

    (2) add the following line after the top of the page:

    . first-word {color: red ;}}

    Note the period in the above code.

    The top of line will now look like this:

    H1 {make-size: 200%; do-family: "Comic Sans MS"; color: #66FFFF; text-align: center ;}}

    H2 {make-size: 100%; do-family: "Comic Sans MS"; color: Red ;}}

    p {make-size: 100%; do-family: "Comic Sans MS"; color: #EEEEEE ;}}

    . First-word {color: red ;}}

    Alternatives are almost similar to this one but try this one and then come back and demand the implementation of alternatives.

  • "BOLD" from the first words of each line?

    I wonder if there is a way to fully automate this. I'm style expandable body of interview-format the text, and I would only the first word of each paragraph, be bold if they are one of the three names. I currently have a nested style black the first word of each paragraph, but not all of the paragraphs in the text begin with a name of interview. Can anyone help?

    Depends on if you need it to happen automatically when you start new documents with interviews, or if you need to do just for a single doc where all your text has already been sent to. If the latter, I had:

    (1) make a duplicate of the nested-style-parastyle called BoldNames

    (2) remove the nested style old style paragraph - now zero paragraphs have the nested style applied, and you have a separate unused paragraph with the nested style in style.

    (3) research the doc with a GREP query:

    To find

    ^(Jake|) Joel | James)

    Implement

    $

    with the format of

    BoldNames

    In this way, only the paragraphs that have one of these names at the beginning of the paragraph will be marked with the paragraph style that owns the nested style that applies "BOLD".

  • [JS] [CS3] Apply the character Style to the first word

    I'm a noob that Javascript is concerned, and I expected a little guidance.

    Here is my scenario: I have a book that was composed in a single file; the main content is in a story. I want to select the first word in each block of text on each page and apply a character style. My goal is to use this character style to indicate the page breaks in the XML document - I maps to a specific tag style.

    So far, I have this poor specimen:

    myDocument var = app.activeDocument;
    myPage var = myDocument.pages.item (1);
    var myTextFrame = myPage.textFrames.item (0);


    If (app.activeDocument.stories [0] .paragraphs [0] .words [0]! = null)
    myTextFrame.paragraphs.item (0).words.item (0) = .appliedCharacterStyle
    myDocument.characterStyles.item ('foo');

    I know, I did not implement any kind of loop again (which will be more complicated given that there will be some blank backs, etc.). What I try to do in this is to select the first word in the first paragraph on the second page - which it does in reality. It's the first paragraph of the second begins on the first page, so I select that word on the first page, second page.

    As I said, a lot of work to do but a bit of help on getting to the right word would be most appreciated.

    Well, you were on the right track, but the "myText" test fails if there is no block of text on a page, because it fails a line earlier

    > var myTextFrame = myPage.textFrames.item (0);

    just before that, you must test the number of blocks of text:

    If (myPage.textFrames.length > 0)

    {

    ... your stuff...

    }

    Use it only if you are absolutely positive that there is just a block of text on each page! A slightly better way would be to always loop on each textframe:

    for (frames = 0; frames

    {

    var myTextFrame = myPage.textFrames.item (frames);

    .. etc.
    }

    in this case you don't have test his first length (the loop will not be executed if there is zero text blocks).

    [Grumpy] Since you have only a continuous story, an even better way would be to loop on texts related to this single story executives. You must identify the story somehow, and I usually click on the text cursor in the one that I need:

    monarticle = app.selection [0] .parentStory;

    or you can rely on the fact that the story begins as part of text on page 1:

    monarticle = app.activeDocument.pages [0] .stories [0];

    (I think this should work.) Then, each frame of the story until the end can be found in the table

    myStory.textContainers

    which are usually text blocks. Make a loop on them to help

    for (image = 0; frame)

    {

    myTextFrame = myStory.textContainers [frame];

    .. etc.

    }

Maybe you are looking for

  • What you have to replace Adobe Flash & how can I download it?

    Mozilla Firefox will now allow the videos to be played because he considers Adobe Flash to be dangerous. I understand that Mozilla Firefox has its ' own VCR. What's his name? Is it available? How to access and download?

  • M7 MacBook 1.3 GHz running more hot than the 1.2 GHz m5?

    Does anyone have experience with this? The new m7 Skylake 1.3 GHz running more hot than the 1.2 GHz m5? I hate having a computer warm on my knees, so I tend to buy the m5 to 1.2 GHz. However, I wonder what it is ' has really a lot of difference in ac

  • Re: Tecra A11 off when booting from a CDROM of Imagecast 6

    Hello I have two laptop Tecra A11 and when I try to boot with a CD of Imagecast 6, the laptop turns off.I tried with another cell A11 and it's the same thing. I tried to change the BIOS settings and an update of the BIOS but nothing works. Help!

  • A10: I have a wireless card?

    Hello gentle men. I have a computer laptop satellite A10 has wireless network or not because there is a swich for it but I can't find the adapter in device manager? Help, please

  • Can satellite L300D - I change the video card?

    Hello world I am not satisfied with the performance of my video card. I have a Satellite L300D, with 2 Ati Radeon X 1250.Can someone tell me if it is possible to remove these video cards, or remove 1 and put another one in it? Or simply add one and w