How to find text or paragraph by giving style name?

Hello,
can any body tell me,How to find text or paragraph by giving style name?actully i have so many styles which is applied on document.
i want to find text in the document which have particular style name.is any method to find text by giving name of style?

Any of the various findText methods, plus your paragraph style name in FindTextPreferences: http://jongware.mit.edu/idcs5js/pc_FindTextPreference.html
Use Google to locate exact samples, as this has been done countless times before.

Similar Messages

  • How to find out the purchase order# giving the sales orde numer?

    Hi Gurus,
    how to find out the purchase order# giving the sales order# or material
    with regards
    thambe

    hi
    use va02-t.code
    double lick on line item data--> click on order data tab.
    there you can find the po details relavant to that sales oreder & the material.
    Thanks & Regards,
    krishna.

  • How to find workarea ID for the work area name.

    Hi Experts..
    How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
    Points would be rewarded for helpful answers..
    Thanks
    Kunal Halarnakar

    U want to fetch the workarea description ?
    we can fetch it from CCIHT_WALD table with the RECN value.
    The informations are stored in AUSP table with the characterstic(ATINN) value.

  • How to find a routine with it's technical name

    Hello!
    I am wondering how to find a routine with it's technical name (e.g. "ROUT 7QAXE7SDXIVW4BJ2S2UL3HLAS" as shown in the error message in a transport log).
    So I would like to find out, where this routine is located (w.g. which characteristic/key figure in which transfer/update rule).
    Any ideas welcome. Thanks, Thomas

    Hi Thomas,
    You can try the following:
    Look up table <b>RSUPDROUT</b>with the GUID of your routine (like 7QAXE7SDXIVW4BJ2S2UL3HLAS)in the ABAP Code ID field selection. This will show you the InfoObject it is created on, and the GUID of the update rules. If you click on the Check Table button, you can find out the data target and InfoSource of the Update Rule.
    In table <b>RSAROUTT</b>you can again use the GUID of your routine to check the description assigned to the routine during its creation.
    I am not sure if this works for the routines of transfer rules....still checking it and will update if anything turns up.
    Hope this helps...

  • How to find Ledger, LE, Op units, Org(All) names and IDs ?????

    How to find Ledger, LE, Op units, Org(All) names and IDs ?????
    Regards:
    Shahzad M. Saleem

    Dear Rajen!!
    How can i link GL_SETS_OF_BOOKS  & XLE_ENTITY_PROFILES ??? as Gl Sets of books has ledger ID whereas XLE_ENTITY_PROFILES has legal entity id???
    I want All LE and all of there ledgers, units and orgs.
    Regards:
    Shahzad M. Saleem

  • How to find text literals

    Hi All,
    I need to find text literals through my code
    for eg:
    report ztest.
    write: 'HI'.
    In this how do i find whether the line is containing " ' " or not
    if sy-subrc eq 0.
    loop at itab into wa .
    if wa-a ne ' ' '.
    endif.
    read
    Thanks
    San

    hi,
    i think you want to search for a text or symbol in the given string.
    If it is so, then you can do this way
    if itab-field CS 'AV'.
    endif.
    CS will take u the value AV if it exist in the itab-field.
    and sy-fdpos will give u the exact position of the word AV.
    so from this u can solve ur problem i suppose..

  • How to find out the primary and failover DNS name

    Hi;
    This sounds very stupid, but could some one please tell me how to find out the name/dns name of the primary and failover server without using the CDS console.
    any help is appreciated

    Is this what you want?
    $ /usr/lib/ldap/ldap_cachemgr -g
    cachemgr configuration:
    server debug level 0
    server log file "/var/ldap/cachemgr.log"
    number of calls to ldapcachemgr 12729
    cachemgr cache data statistics:
    Configuration refresh information:
    Previous refresh time: 2005/08/07 23:54:59
    Next refresh time: 2005/08/08 00:55:00
    Server information:
    Previous refresh time: 2005/08/14 15:15:00
    Next refresh time: 2005/08/15 03:15:00
    server: ldap1.example.com, status: UP
    server: ldap2.example.com, status: UP
    server: ldap3.example.com, status: UP
    Cache data information:
    Maximum cache entries: 256
    Number of cache entries: 0
    Gary

  • How to find the Datasources for the given table names ?

    Hi All,
    I have an urgent requirement where I ned to find the names of BW Datasources, created for the given table names.
    Both the tables and Datasources are in BW system only. I can see the table in SE11 but I am unable to find its associated Datasources in the 'Where Used List'.
    Is there any method ?
    Will assign points to satisfactory answers.
    Regards,
    Srinivas

    Hi,
    Check this thread on how to find the DS.
    I have the field name, please help me find the data source.
    Once you identify your DS you find which all Data targets are fed by trying to see the " Show data flow" in RSA1 for this data source.
    Hope this helps.
    Thanks,
    JituK
    Edited by: Jitu Krishna on Apr 30, 2008 11:52 AM

  • [JS, CS3] How to find text that is NOT a paragraph return

    Hi all,
    This is probably an easy one, but I can't seem to get the idea. I want to search within some text and find everything EXCEPT the paragraph return. What would be the way to build that expression? Thanks for any response.
    Regards,
    Len Swierski

    Thanks, Peter!
    I appreciate your help but I have found another solution. I am amazed at my own stupidity sometimes. You see, I do my scripting in a very lame sort of way because I have never used Javascript outside of InDesign. As such, I find myself at a disadvantage because the documentation that Adobe provides assumes that you are aware of many of the basics. Case in point: I have always had trouble manipulating strings because I NEVER KNEW that you could search and replace strings! I just could not find examples of this in the Adobe documentation. So here I was in some cases adding temporary textFrames so I could get to my strings as text contents and then removing the temporary textFrames at the end of the script. In this particular case I needed to merge several paragraphs into one paragraph. Now that I know how to search & replace strings, it is so simple to strip away all the paragraph returns (which are included in text contents). I am learning, albeit rather slowly. Thanks again.
    Regards,
    Len Swierski

  • IDCS4 - [JS] - How to find the Last paragraph with only One word - Reg.

    Dear All
      Here I have a big doubt!.
          I checked Total number paragraphs in the Text Frame and Each paragraph having only 1 words and then immediatly checked with words. Its only having less than 6 characters or not, Like that I checked and throw the log file.
    But I can't add this content in the file....
    //================= Here my coding ===========================//
             var myDoc = app.activeDocument;
             var myPages = myDoc.pages;
             var myTextFrame;
             var myParagraph;
             var myParaLine;
             var myParaWord;
             var Pagecount= 1 ;
             var paraCount = 1;
             var myChars;
             log1 = myDoc.name.split(".indd")[0];
                FilePath = myDoc.filePath;
               aFile = File(FilePath + "/" + log1 + "_LastLineWords"+ ".log");
               var today = new Date();
               aFile.open("w");
               aFile.seek(0,2);
              aFile.write("\n"+"  Last Line only 2 words logs       "+"\n");
              aFile.write("         - - - - - - - - - - - - - - - -               "+"\n\n");
              aFile.write("\n"+String(today+"\n"));
              aFile.close(); 
             for(var i=0; i<myPages.length; i++)
              myTextFrame = myPages[i].textFrames;
               for(var j=0; j<myTextFrame.length; j++)
                  myParagraph = myTextFrame[j].paragraphs;
                 for(var k=0; k<myParagraph.length; k++)
                    if(myParagraph.length >= 2)
                    myParaLine = myParagraph[k].lines;
                  for(var m=0; m<myParaLine.length; m++)
                     if(myParaLine[m].words.length < 2 )
                       myChars = myParaLine[m].words;
                     for(var n=0; n<myChars.length; n++)
                       if (myChars[n].characters.length < 6 )
                        aFile.open("e");
                        aFile.seek(0,2);
                        app.select(myChars[n])
                        var mySel = app.selection[0];
                        $.writeln(mySel.contents);
                        $.writeln(mySel);
                        aFile.write("\n"+"Contents :"+"\t"+mySel.contents+"\n");
                        aFile.write("\n"+"Line No. of the Content  :"+"\t"+ myParaLine.length+"\n");
                        aFile.write("\n"+"Pargraph No. of the Content  :"+"\t"+ paraCount+"\n");
                        aFile.write("\n"+"Page No. of the Content   :"+"\t"+ Pagecount+"\n");
                        aFile.close();
                   paraCount +=1;
               Pagecount +=1;
       //======================================== Execute the Log File =================================//
                if(aFile.length != 0)
                aFile.execute();
                 else
                 var myDelFile = File(FilePath + "/" + log1 + "_LastLineWords"+ ".log");
                 myDelFile.remove();
                   exit(0);
    //========================== End of the Script =======================================================//
    The $.writeln(mySel); throws [Object Text]... How to write the contents in my Log file.
    This is working in non-xml contents but this is not working in xml contents. Please anybody can check the above code and please give me the suggestion....
    Please any one can help me, I will appreciate....
    Thanks & Regards
    T.R.Harihara Sudhan 

    Welcome to the Apple discussions.
    These discussions are user-to-user. Apple generally doesn't monitor the discussions.
    My Turkish language skills are non-existant, however, you can use this to find an Apple store close to you: http://www.apple.com/uk/buy/locator/ (you choose your country in the locator) . It may be as easy as returning it to a local store. In some countries you have a short time period to return anything bought from Apple (for example, 14 days in the US). If that doesn't work, you want to contact Apple customer service. Unfortunately, this is where I was unable to maneuver through the Turkish Apple site, due to not knowing the Turkish language.

  • [CS3, VB] How to find text and store as a string

    Dear all,
    I'm stymied again with what seems a simple thing. But you hear that a lot.
    I want to find a reference number in a document and then use that to create a filename later on.
    I've got this far, adapting code from another topic:
    myString = "Release No. ^9^9^9^9"
    Set myFileSystemObject = CreateObject("Scripting.FileSystemObject")
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    Set myDocument = myInDesign.ActiveDocument
    myInDesign.FindTextPreferences = idNothingEnum.idNothing
    myInDesign.FindTextPreferences.FindWhat = myString
    set myFounded = myDocument.findText()
    call myInDesign.select(myFounded.item(1))
    I know I shouldn't have to select it as such, but anyway, I'm stuck converting the found text into a string. And then I want to just grab the four digits.
    Also, could you provide the code to put that into a if/then statement in case it doesn't find anything?
    Thanks
    Nigel

    Perhaps we need some clarification.
    Can you post one -> Good Data
    one -> Bad Data
    And, the required output - i mean the way you want to display those bad data. And, also post your exact oracle version by this way ->
    select * from v$version;Regards.
    Satyaki De.

  • [JS, CS2] Find Text - Change Paragraph Style

    I have text supplied to me formated with <g>,< b>,<k> or <r> at the start of paragraphs, this represents different paragraph styles that need to be applied. <br /><br />I started a script below, but it comes up with an error at "app.findTextPreferences.findText" <br /><br />have a used the wrong function here? <br />Is there an easy way for it to run through all of them as well, or should I just repeat this script with < b>,<k> and <r><br /><br />var myDoc = app.activeDocument;<br />var greenBullet = ["<g>", "<g>"]<br />replaceGreen();<br /><br />function replaceGreen() {<br />for (i = 0; i < greenBullet.length; i++) {<br />            var myGreenArray = greenBullet[i];<br />            app.findTextPreferences.findText = myGreenArray[0];<br />            app.changeTextPreferences.changeTo = myGreenArray[1];<br />            app.changeTextPreferences.appliedCharacterStyle=myDoc.characteerStyles.item("OFI Body copy_GREEN BULLET");<br />            myDoc.changeText();<br />            }<br />}

    Thanks Dave!<br /><br />OK, Now I am getting this message when I run it:<br /><br />"A layer with this name already exists...<br />...     if (myPageItems[i]  instanceof TextFrame && myPageItems[i].itemLayer.name = "listings")"<br /><br />So it's trying to create a new layer called listings.<br />Also - it seems to want to move the items to that layer?<br /><br />var myDoc = app.activeDocument;<br />app.findPreferences = null;<br />app.changePreferences = null; <br /><br />myObjectStyle = myDoc.objectStyles.item("defaultText");<br />myPageItems = myDoc.allPageItems;<br />for (var i = myPageItems.length - 1; i >=0; i--) {<br />     if (myPageItems[i]  instanceof TextFrame && myPageItems[i].itemLayer.name = "listings") {<br />          myPageItems[i].applyObjectStyle(myObjectStyle);<br />     }<br />}<br /><br />myDoc.search("<g>", false, false, undefined, undefined, {appliedParagraphStyle:"OFI Body copy_GREEN BULLET"});<br />myDoc.search("<k>", false, false, undefined, undefined, {appliedParagraphStyle:"OFI Body copy_BLACK BULLET"});<br />myDoc.search("<r>", false, false, undefined, undefined, {appliedParagraphStyle:"OFI Body copy_RED BULLET"});<br />myDoc.search("< b>", false, false, undefined, undefined, {appliedParagraphStyle:"OFI Body copy_BLUE BULLET"});

  • How to find text in a button on the page

    When viewing a page containing a form, and the form has a button with a label, how do I search for the label to find the button?

    You want to search using in-page find feature (Ctrl+f)? In-page find will find some button captions, but does not find all of them:
    '''Yes:''' &lt;button onclick="dosomething">Click me&lt;/button>
    '''No:''' &lt;input type="submit" name="subbtn" value="Click me">
    You probably would need to use a script to find those kinds of buttons. (e.g., a bookmarklet or a userscript)

  • How can find text only in second column of cell?

    Hi, everyone
    I only want to find second column of dollar sign
    aim to apply to character style: "Bold+Italic",
    I can I make it happen?
    screenshot:
    I have this script, can someone help me to change it's function?
    if ( app.selection.length > 0 && ( app.selection[0].constructor.name == "Cell" || app.selection[0].constructor.name == "Table" ) ) {  
        if ( app.scriptPreferences.version >= 6 ) { 
            app.doScript( main, ScriptLanguage.JAVASCRIPT , [], UndoModes.ENTIRE_SCRIPT, "style every second column in selection" );          
        else { 
            main(); 
    } else { 
        alert ( "Nothing or wrong selection!" ); 
    function main() { 
        var myColor = "PANTONE 252 U"; 
        var myFillTint = 20; 
        var myCharStyleName = "Bold"; 
        var curSel = app.selection[0]; 
        var allCells = curSel.cells; 
        var startCol = curSel.cells[0].name.split(":")[0]*1;    
        var endCol = curSel.cells[-1].name.split(":")[0]*1;    
        var counter = startCol + 1; 
        for ( var i = 0 ; i < allCells.length; i++ ) { 
            var curCell = allCells[i]; 
            var curCol = curCell.name.split(":")[0]*1; 
            if ( curCol == counter ) { 
                curCell.fillColor = myColor; 
                curCell.fillTint = 20; 
                curCell.texts[0].appliedCharacterStyle = myCharStyleName; 
                counter = counter + 2; 
            if ( counter > endCol ) { 
                counter = startCol + 1; 
            } // end if 
        } // end for 
    } // end main
    John

    Hi Chinna,
    What if I add something into it, Can it working?
    var doc = app.activeDocument, 
        _selection = app.selection[0]; 
        for(var i =1;i<_selection.columns.length;i+=2) 
        var _cells = _selection.columns[i].cells; 
        for(var j =0;j<_cells.length;j++) 
        // I think have to add a function in here like this:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "HK\\$\\'000";
                       _cells[j].texts[0].appliedCharacterStyle = "Bold+Italic"; 
    app.findGrepPreferences = app.changeGrepPreferences = null;
    John

  • How to find resource mailbox property "Add the organizer name to the subject" in Exchange 2013

    Use the Resource Information tab to specify the meeting information that appears in the resource's calendar:
    Delete attachments   Select this check box to remove attachments from all incoming requests.
    Delete comments   Select this check box to remove comments from all incoming requests.
    Delete the subject   Select this check box to remove the subject of all incoming requests.
    Delete non-calendar items   Select this check box to remove non-calendar items from all incoming requests.
    Add the organizer's name to the subject   Select this check box to specify whether the resource requestor's name is added to the subject of the request.
    Remove the private flag on an accepted meeting   Select this check box to remove the private flag for all incoming requests.
    Send organizer information when a meeting request is declined because of conflicts   Select this check box to send the meeting organizer information regarding
    a denied request.
    Customize the response message that organizers will receive   Select the Add additional text check box to customize the message that
    the requester receives when the meeting has been declined, and then type the additional information in the Additional text field.
    Mark pending requests as Tentative on the calendar   Select this checkbox to specify that all pending requests are marked as Tentative in the resource's calendar.
    The delegate can then accept or deny the request as needed.
    This is how these settings can be found in exchange server 2010(highlighted) but I am unable to find a similar setting in the admin center of Exchange 2013. I know this can be done through shell commands but I want to know where I can find the same UI setting
    in 2013. 
    Any help is much appreciated.

    Those settings are not exposed in the EAC or the Resource settings in OWA, afaik. Just use the shell.

Maybe you are looking for

  • Can a video clip lose quality with ,multiple rerendering???

    I have a question, can rerender a video file, say I rendered and found I forgot to add chapter markers to sequence, rendered it to a Quicktime DV clip, I deleted all render files after export. Now all I have is the DV clip that needs to have chapter

  • Create a Purchase Order from a Shop Cart where Stock is held

    A customer requires a shop cart user (Requestor) to decide that they would like to go to straight to Purchase Order for a Stocked Item rather than a reservation being created and stock being transferred from a remote storage location. The customer wo

  • Xfa Form, Digital Signatures, file attachments and Reader 9

    Hi, In reader 8 and previous, when i wanted to have a form that could be signed, passed to the next persons, added attachement signed, repeat, while maintaining the signatures valid, i could. Since we updated to reader 9.12 all previously signed docu

  • After a long non-using of my Ipod, all my music is erased. Is it normal?

    Hello everyone, When I don't use my old I-Pod for a long time, all my music is erased and my Ipod is empty. I would like to know what I can do to avoid this. Thank you for your help. Best wishes.

  • Win7 Ultimate 64bit: PS CS4 64bit does not start

    Hello, on a fresh Windows 7 Ultimate 64bit I recently installed the whole CS4 Production Premium. PS CS4 starts properly but PS CS4 64bit only starts the License Agreement, when I hit 'I agree', the window disappears and nothing happens. Can anyone h