Find & Replace the text and apply paragraph style in indesign CS2.

Hai below script are working in cs4 - cs5.5. i need to run the script in indesign cs2.
can you please help.
Main();
function Main() {
    var foundItem;  
    var doc = app.activeDocument;
    //app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = "^p";
       //app.findTextPreferences.appliedParagraphStyle = "head";
    var foundItems = doc.findText();
    for (var i = 0; i < foundItems.length; i++) {
        foundItem = foundItems[i];
        foundItem.applyParagraphStyle(doc.paragraphStyles.item("content body indent"), false);
     app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.NOTHING;
     var myDocument = app.activeDocument;
//Clear the find/change text preferences.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
//Set the find options.
app.findChangeTextOptions.caseSensitive = false;
app.findChangeTextOptions.includeFootnotes = false;
app.findChangeTextOptions.includeHiddenLayers = false;
app.findChangeTextOptions.includeLockedLayersForFind = false;
app.findChangeTextOptions.includeLockedStoriesForFind = false;
app.findChangeTextOptions.includeMasterPages = false;
app.findChangeTextOptions.wholeWord = false;
//Search the document for the string "copy" and change it to "text".
app.findTextPreferences.findWhat = "^p";
app.changeTextPreferences.changeTo = "^p";
myDocument.changeText();
//Clear the find/change text preferences after the search.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
abc();
function abc() {
    var foundItem;  
    var doc = app.activeDocument;
    //app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = "*";
       //app.findTextPreferences.appliedParagraphStyle = "head";
    var foundItems = doc.findText();
    for (var i = 0; i < foundItems.length; i++) {
        foundItem = foundItems[i];
        foundItem.applyParagraphStyle(doc.paragraphStyles.item("RealEstate"), false);
     app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.NOTHING;
     var myDocument = app.activeDocument;
//Clear the find/change text preferences.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
//Set the find options.
app.findChangeTextOptions.caseSensitive = false;
app.findChangeTextOptions.includeFootnotes = false;
app.findChangeTextOptions.includeHiddenLayers = false;
app.findChangeTextOptions.includeLockedLayersForFind = false;
app.findChangeTextOptions.includeLockedStoriesForFind = false;
app.findChangeTextOptions.includeMasterPages = false;
app.findChangeTextOptions.wholeWord = false;
//Search the document for the string "copy" and change it to "text".
app.findTextPreferences.findWhat = "*";
app.changeTextPreferences.changeTo = "";
myDocument.changeText();
//Clear the find/change text preferences after the search.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
ab();
function ab () {
    var foundItem;  
    var doc = app.activeDocument;
    app.findTextPreferences = app.changeTextPreferences = NothingEnum.NOTHING;
    app.findTextPreferences.findWhat = " ^ ";
app.changeTextPreferences.changeTo = " ";  
    //app.findTextPreferences.appliedParagraphStyle = "head";
    var foundItems = doc.findText();
    for (var i = 0; i < foundItems.length; i++) {
        foundItem = foundItems[i];
        foundItem.applyParagraphStyle(doc.paragraphStyles.item("day"), false);
    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.NOTHING;
     var myDocument = app.activeDocument;
//Clear the find/change text preferences.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
//Set the find options.
app.findChangeTextOptions.caseSensitive = false;
app.findChangeTextOptions.includeFootnotes = false;
app.findChangeTextOptions.includeHiddenLayers = false;
app.findChangeTextOptions.includeLockedLayersForFind = false;
app.findChangeTextOptions.includeLockedStoriesForFind = false;
app.findChangeTextOptions.includeMasterPages = false;
app.findChangeTextOptions.wholeWord = false;
//Search the document for the string "copy" and change it to "text".
app.findTextPreferences.findWhat = "^";
app.changeTextPreferences.changeTo = "";
myDocument.changeText();
//Clear the find/change text preferences after the search.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;

@s_ashok – you'll find the right methods and properties in the CHM file for InDesign CS2 at:
http://www.jongware.com/idjshelp.html
Just a few hints:
InDesign CS2 does not support GREP search/replace, so every line in your code that points to GREP does not work.
Further: "app.findTextPreferences" and "app.changeTextPreferences" were "app.findPreferences" and "app.changePreferences" in InDesign CS2. And then there were no "findChangeTextOptions" or any counterpart for that in CS2…
That should get you running…
I have no InDesign CS2 installed to debug, so this is all I can say…
Uwe

Similar Messages

  • Find.text Then apply Paragraph.Style

    Hi Everyone,
    Is that possible we find the text then apply the paragraph style every find text.
    We find [CN] then apply paragraph style "Chap_Num", Find next  [CT] apply PS "Chap_TTL" Find next [COX1] apply PS "Chap_Para".
    Any trick find and apply para style one time.
    Thank you! I appreciate your help and explanation Adv.

    @s_ashok – you'll find the right methods and properties in the CHM file for InDesign CS2 at:
    http://www.jongware.com/idjshelp.html
    Just a few hints:
    InDesign CS2 does not support GREP search/replace, so every line in your code that points to GREP does not work.
    Further: "app.findTextPreferences" and "app.changeTextPreferences" were "app.findPreferences" and "app.changePreferences" in InDesign CS2. And then there were no "findChangeTextOptions" or any counterpart for that in CS2…
    That should get you running…
    I have no InDesign CS2 installed to debug, so this is all I can say…
    Uwe

  • Is it a way cut and paste text and have paragraph style it

    Can I cut and paste from a word document in have indesign style it like below. Or do I have to one by one style it like below.
    Laura Benner
    Director of Human Resources
    Tiffany & Co.
    600 Madison Avenue
    New York, NY 10022
    (212) 755-8000

    You can use Apply Style, then next style to format each contact all at once. If all of the address info is exactly 4 lines long, you could have the phone number in a separate style, with Name as its next style. You could then style the whole list in one motion.

  • Find inline objects and apply object styles...

    Hi Eveyone,
    I am trying to find placed inline rules and apply object styles through javascript. Because we need some baseline shift to those rules. I getting some error while find the rules. FInd the syntax below,
    app.findObjectPreferences=app.changeObjectPreferences=null;
    app.findChangeObjectOptions.properties =
      objectType: ObjectTypes.unassignedFramesType
    app.findObjectPreferences.strokeWeight=1;
    app.changeObjectPreferences.appliedObjectStyles=app.activeDocument.objectStyles.item("WOL" );
    app.activeDocument.item(0).changeObject();
    Can anyone look into this help for me. Thanks in advance.
    Regards
    Thiyagu

    Hi Dave,
    I have tried the script after removing "s" in it. Now i am getting error like "object doesn't support the property or method 'appliedObjectStyle'". Please look into this and help me out. Herewith i attached the 'error' dialog snapshot.
    When i tried this in loop its working fine. Find the script below.
    app.findObjectPreferences=app.changeObjectPreferences=null;
    app.findChangeObjectOptions.properties =
      objectType: ObjectTypes.unassignedFramesType
    app.findObjectPreferences.strokeWeight=1;
    myFindObj=app.findObject(true);
    for(i=0;i<myFindObj.length;i++){
        myFindObj[i].appliedObjectStyle=app.activeDocument.objectStyles.item("WOL");
    alert ("DONE!");
    Regards
    Thiyagu

  • [JS or AS] Applying Paragraph Styles.

    Hi,
    I have a JavaScript From Dave Saunders. Which Takes a list of all Para and Character styles from an InDesign File and make a .txt file.
    Which works great.
    So because I don't understand JavaScript and Very Basic Applescript.
    I have made a basic AppleScript which Creates a Document and place the .txt file which the JavaScript created.
    I know how to apply a Paragraph Style in AppleScript using the
    set applied paragraph style of paragraph 1 to ParaName
    My problem is I don't know how I can match and apply Paragraphs Styles and Character styles from the list generated from the .txt file to the corresponding Paragraph and Character styles in InDesign?
    Obviously if it could be all done Via JavaScript then yeah, otherwise AppeScript all do as well.
    Any help or ideas would be great.

    Thanks Shane
    Oh I didn't think I had to set myStory to anything as it's the only story, so I thought it's would automacticly make it the parent story...learn something new...
    I also forgot to import the Paragraph Style into the new document which I've fixed,
    but It falls over at the set applied paragraph line.
    tell application "Adobe InDesign CS3"
         --Pick file to import styles from
         set myFilePath to (choose file)
         --Create a new document.
         set mydoc to make document
         tell mydoc
              import styles format text styles format from myFilePath
         end tell
         tell page 1 of document 1
              set newFrame to make new text frame with properties {geometric bounds:{1, 1, 275, 210}}
              -- this line below will let me choose which file to place, in this case it's called MyDocumentStyles.txt which the Javascript made
              place (choose file) on newFrame
              set myStory to parent story of newFrame
              repeat with i from 1 to count of paragraphs of myStory
                   set thisStyleName to contents of paragraph i of myStory
                   if last character of thisStyleName = return then
                        set thisStyleName to text 1 thru -2 of thisStyleName
                   end if
                   set applied paragraph style of paragraph i of myStory to paragraph style thisStyleName
              end repeat
         end tell
    end tell

  • Applying paragraph styles to placed text

    I have a catalog document built  with with master pages and paragraph styles. The layout has a grid of  image boxes for product with a text box beneath for descriptions. The  text boxes should have style 1 applied to the 1st line, and style 2  applied to the following lines. Style 1 is applied to the text boxes in  the master, and has next style set to style 2 in the paragraph style  settings. This works fine when typing directly in the document, but I am  placing the text from a word document. When I place the text, InDesign  is just applying the default text settings instead of the correct  styles. Is there a way to get it to automatially apply the correct  styles, or will I need to manually set the styles?
    Using CS5
    thanks,
    Katie

    Part of your answer is very easy: after you've placed your text, select a few paragraphs, and then right-click on "style 1" and select "Apply Style, Then Next Style." That's how to use "Next Style" on text that you've placed.
    The other part of your question -
    When I place the text, InDesign  is just applying the default text settings instead of the correct  styles. Is there a way to get it to automatially apply the correct  styles, or will I need to manually set the styles?
    is a fair bit more complicated. If you're placing Word files, and all of the text in Word is styled with "Normal," then you'd probably need to manually set styles. If the text is in Word, but is styled carefully, then you can click the "Import Options" checkbox upon placing, and you can do all kinds of things to the file, including stripping all Word formatting & mapping Word styles to InDesign styles. If you have text in some other format, it may be possible to automate styling, but it depends completely on what you have to place. Raw text with XML tags? CSV files? RTFs generated by a translation memory tool? If you can post example files or screenshots, we may be able to figure out a way to smooth out this part of your workflow, depending on the materials with which you're working.

  • PE 13 crashes due to incompatible video driver detected. Running on Win 7 SP1 with ATI 540v video card/driver.  Deleting bad driver file in adobe program data does not fix the problem,  it simply replaces the text file and crashes again.  My video driver

    PE 13 crashes due to incompatible video driver detected. Running on Win 7 SP1 with ATI 540v video card/driver.  Deleting bad driver file in adobe program data does not fix the problem,  it simply replaces the text file and crashes again.  My video driver is just fine.  Any help out there?

    rb
    Your video card driver may be fine for something, but just not compatible with Premiere Elements 13/13.1.
    For those with the display card error, the answers include
    a. assure your video card/graphics card driver version is up to date according to the web site of the manufacturer of the card -
    if necessary consider a driver roll back.
    b. determine in Device Manager/Display Adapters if the computer is using 2 cards instead of 1
    c. delete the BadDrivers.txt file
    the rationale for that deletion is found in post 10 of the following older post...principle applies to 13 as well as 9.
    Re: Premiere Elements 9 Tryout Serious Display Problem
    Have you looked for computer ATI card settings that might be more compatible with Premiere Elements 13/13.1?
    When is the program crashing - just opening a new project or rather crashing if editing a particular video format at the Timeline level?
    ATR

  • Set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    Is it possible to set by script the tag and/or the class of a paragraph style for HTML / EPUB export?

    I found a way
    tell application "Adobe InDesign CS6"
      tell document 1
      tell paragraph style 2
      --get count of style export tag map
      tell style export tag map 1 -- HTML  , 2 = PDF
      --get export class
      --get export tag
      set export tag to "H1"
      set export class to "blue"
      end tell
      end tell
      end tell
    end tell
    and its works
    but thanks for help to use the class "style export tag map"

  • [GREP] – find/replace only first comma in paragraph

    Is it possible to find and replace only the first comma in paragraph with certain paragraph style with end of paragraph character using GREP search? Or in other words – to split paragraph into two paragraphs by replacing the first comma in paragraph with end of paragraph character?
    Claudius

    That's an interesting problem, and I think it takes at least two steps.
    The expression (^[^,]+),\s* will find all text from the beginning of a paragraph up to the first comma, which might be followed by whitespace and allows you to use the $1 operator in the change to field to save the text up to the comma, but replace the comma and following whitespace with anything you like. However, as soon as you replace that with a paragraph break you've created a new paragraph to search and you end up breaking at every comma.
    Instead you need to insert a stand-in symbol of some sort with a unique character style applied (so it won't get picked up any other way), for instance change to $1% and apply the style named "break" which does no formatting but flags the text for the next search.
    Now search for % with the "break" style and replace with the paragragh break (and no style).
    You should probably now search for .+ with the break style and change to nothing (or $0 for found text), and remove the style, just to be clean.
    There's still one problem, though, and that's that all the new paragraphs start with a lower-case character unless the first word after the comma happened to be capitalized. You could now search for ^. to find the first character in each paragraph and use the change format to apply a character style that assigns all caps, but that's really an ugly way to work.
    All of this will fall apart, too, I think if you have nested or GREP styles affecting the beginning text or the first character in any paragraph that you wind up with.

  • Tagging character styles and paragraph styles in inDesign

    I'm working on a complex book in which everything on the pages is styled.
    I've been asked to tag the vocabulary terms in the text, so that the correct page number shows up in the index.
    I've been asked to tag the folios as well, for the table of contents.
    The folios are a paragraph style.
    The vocabulary terms are styled with a character style.
    How do I do this?
    Any help much appreciated.

    InDesign's built-in Table of Contents function picks up text based on paragraph styles. I'm not sure you really men, though, that you want to pick up the folios, if you are using the term as I understand it, to mean the page numbers. You really want to pick up the various headings used to identify the topics or titles. ID will supply the page numbers.
    As for the indexing, there may be a script that can find text with a particular character style assigned and add it to an index (you should ask over in the scripting forum: InDesign Scripting) but you should also read the Help on Indexes and learn more about how they operate.

  • Auto apply paragraph style

    Hi all,
    I m new to indesign scripting. I need a help to correct my script.
    Its a basic scritpt to created to apply paragraph style 1 to the basic paragraph . after doing this, i want to apply the paragraph style 2 created to the next paragraphs likewise and so on.
    var myDoc = app.activeDocument;
    app.findGrepPreferences = NothingEnum.NOTHING;
    app.findGrepPreferences.appliedParagraphStyle = myDoc.paragraphStyles.itemByName("[Basic Paragraph]");
    var myResult = app.findGrep();
    app.changeGrepPreferences.appliedParagraphStyle = myDoc.paragraphStyles.itemByName("Paragraph Style 1");
    var myResult1 = app.changeGrep();
        app.findGrepPreferences = NothingEnum.NOTHING; //to clear the selected paragraph panel
        app.changeGrepPreferences = NothingEnum.NOTHING; //to clear the changed paragraph panel
    Can anybody help on this, please.
    thanks
    babylon.

    what error does it give??
    try this
    var doc=app.activeDocument;
    function resetOpt(){ // saves the find change options and resets the to default
        var old_fCGOpts=app.findChangeGrepOptions.properties;
        var old_fGPref=app.findGrepPreferences.properties;
        var old_cGPref=app.changeGrepPreferences.properties;
        app.findChangeGrepOptions=NothingEnum.NOTHING;
        app.findGrepPreferences=NothingEnum.NOTHING;
        app.changeGrepPreferences=NothingEnum.NOTHING;
        return [old_fCGOpts,old_fGPref,old_cGPref]
    function restoreOpt(myOpt){
        app.findChangeGrepOptions.properties=myOpt[0];
        app.findGrepPreferences.properties=myOpt[1];
        app.changeGrepPreferences.properties=myOpt[2];
    var myOpt=resetOpt(); //save and reset Find/Change Options
    app.findGrepPreferences.appliedParagraphStyle = doc.paragraphStyles.itemByName("[Basic Paragraph]");
    app.changeGrepPreferences.appliedParagraphStyle = doc.paragraphStyles.itemByName("Paragraph Style 1");
    var myResult1 = doc.changeGrep();
    restoreOpt(myOpt); //restore previous find change options

  • Applying paragraph style to a single paragraph affects all previous paragraphs

    Hey,
    I'm trying to create a script that would take an array of text objects that describe what the text and style of a particular line of text is. And in some lines to apply Character Styles as well.
    The problem is that, while the script works when the loop is in the character styles "mode", it seems to apply the paragraph styles to all the previous lines of text when the aforementioned object asks it to apply only the paragraph style (no character styles).
    The offending line is this:
    if ( typeof line.text == 'string' ) {
        frame.contents += "\r" + line.text;
        frame.parentStory.paragraphs[-1].appliedCharacterStyle = doc.characterStyles[0];
        frame.parentStory.paragraphs[-1].applyParagraphStyle(style);
        continue;
    I even copied the style-apllying lines from the Character-Styles-applying section of the script (the else part), but it still applies the style to all the previous lines of text. The script below is the full code I have I long with one of the objects that text data. If I comment out the "offending lines" mentioned above, the script applyes all the styles correctly. Otherwise, only the last line (the Product - Description style) is applied, while all the previous lines attain the 'Spacer' style.
    Can anyone see what I'm doing wrong? (sorry for the giant piece of code, but I can't pin-point what's not relevant here).
        'text': [
                'style': 'Product - Title No Indent',
                'text': [
                    'Test Product',
                        'style': 'Superscript',
                        'text': '®'
                    ' Title'
            { 'style': 'Spacer', 'text': ' x' },
            { 'style': 'Spacer', 'text': ' x' },
            { 'style': 'Spacer', 'text': ' x' },
                'style': 'Product - Description',
                'text': ['Designed for monitoring steam sterilization processes.']
    function add_text_to_frame (frame, product) {
        var i, l, j, k, line, style, line_styles, char_style, line_text, bit;
        for ( i = 0, l = product.text.length; i < l; i++ ) {
            line = product.text[i];
            style = doc.paragraphStyles.item( line.style );
            if ( typeof line.text == 'string' ) {
                frame.contents += "\r" + line.text;
                frame.parentStory.paragraphs[-1].appliedCharacterStyle = doc.characterStyles[0];
                frame.parentStory.paragraphs[-1].applyParagraphStyle(style);
                continue;
            else {
                line_styles = new Array();
                line_text = '';
                for ( j = 0, k = line.text.length; j < k; j++ ) {
                    bit = line.text[j];
                    if ( typeof bit == 'string' ) {
                        line_text += bit;
                    else {
                        line_styles.push({
                            'start': line_text.length,
                            'end': line_text.length + bit.text.length,
                            'style': bit.style
                        line_text += bit.text;
                frame.contents += "\r" + line_text;
                frame.parentStory.paragraphs[-1].appliedCharacterStyle = doc.characterStyles[0];
                frame.parentStory.paragraphs[-1].applyParagraphStyle(style);
                for ( j = 0, k = line_styles.length; j < k; j++ ) {
                    char_style = doc.characterStyles.item(line_styles[j].style);
                    frame.parentStory.paragraphs[-1].characters.itemByRange(
                        line_styles[j].start,
                        line_styles[j].end
                    ).applyCharacterStyle(char_style, true);

    Here's the shortest code with the problem I could come up with.... You can run it if you create two different default paragraph styles: 'Product - Description' and 'Product - Title No Indent';
    The problem is that the first line should have 'Product - Description' style, but it instead it gets 'Product - Title No Indent'.
    If I comment out one of the paragraphs, everything works fine. What's wrong?
    var doc = app.documents.add(),
        product, text_frame, i, l;
    product = {
        'text': [
                'style': 'Product - Description',
                'text': 'Designed for monitoring sterilization processes.'
                'style': 'Product - Title No Indent',
                'text': 'Designed for monitoring sterilization processes.'
                'style': 'Product - Description',
                'text': 'Designed for monitoring sterilization processes.'
    text_frame = doc.pages[0].textFrames.add();
    text_frame.geometricBounds = [ '0pt', '0pt', '240pt', '300pt'];
    for ( i = 0, l = product.text.length; i < l; i++ ) {
        text_frame.contents += "\r" + product.text[i].text;
        text_frame.parentStory.paragraphs[-1].appliedCharacterStyle = doc.characterStyles[0];
        text_frame.parentStory.paragraphs[-1].applyParagraphStyle(
            doc.paragraphStyles.item( product.text[i].style )

  • Is there a way to create a heading with shading behind the text and thin lines above and below?

    I'm working with InDesign CS6, Windows 7.
    Is there a way, using paragraph rules, to create a heading with shading behind the text and thin lines above and below the text?
    I'd like to create headings that look like these:
    Thank you!

    I have a document where I almost do such, but without the fill. I use a Head Style which Spans Columns for this instance; it allows the haeds to flow and fill the width.
    Paragraph Rules above and below are turned on with plenty of offset.
    I tweaked my setting to accomodate your need - It required only one instance, not above and below, and changing the stroke to a double stroke. 
    It may be necessary to create a custom stroke to modify the proportion of stroke vs fill. There is a difference of thin-thin and  thick-thick, neither of which seemed perfect but might be dependent on the Character height.
    Creating custom strokes is accomplished via the Strokes Panel.

  • Replace the text numbers string in a txt file using C++.. Help Me..

    Read a Document and replace the text numbers in a txt file using c++..
    For ex: 
    Before Document: 
    hai hello my daily salary is two thousand and five and your salary is five billion. my age is 
    twenty-five. 
    After Document: 
    hai hello my daily salary is # and your salary is #. my age is #. 
    All the text numbers and i put the # symbol.. 
    I am trying this code: 
    #include <iostream>
    #include <fstream>
    #include <string>
    using namespace std;
    ifstream myfile_in ("input.txt");
    ofstream myfile_out ("output.txt");
    string line;
    void find_and_replace( string &source, string find, string replace ) {
    size_t j;
    for ( ; (j = source.find( find )) != string::npos ; ) {
    source.replace( j, find.length(), replace );
    myfile_out << source <<endl;
    cout << source << endl;
    int main () {
    if (myfile_in.is_open())
    int i = 0,j;
    //string strcomma ;
    // string strspace ;
    while (! myfile_in.eof() )
    getline (myfile_in,line);
    string strcomma= "two";
    string strspace = "#";
    find_and_replace( line , strcomma , strspace );
    i++;
    myfile_in.close();
    else cout << "Unable to open file(s) ";
    system("PAUSE");
    return 0;
    Please help me.. Give me the correct code..

    Open the file as a RandomAccessFile. Check its length. Declare a byte array as big as its length and do a single read to get the file into RAM.
    Is this a simple text file (bytes)? No problem. If it's really 16-bit chars, use java.nio to first wrap the byte array as a ByteBuffer and then view the ByteBuffer as a CharBuffer.
    Then you're ready for search/replace. Do it as you would in any other language. Be sure to use System.arraycopy() to shove your bytes right (replace bigger than search) or left (replace smaller than search).
    When done, a single write() to the RandomAccessFile will put it all back. As you search/replace, keep track of size. If the final file is smaller than the original, use a setLength() to the new size to avoid extraneous data at the end.

  • How to know if a applied paragraph style has changed

    in Applescript, is there a propertie to know if a applied paragraph style in not "the original"
    ==> title become title+
    Thanks

    One way to do it in Applescript:
    tell application "Adobe InDesign CS6"
              tell document 1
                        tell page 1
                                  tell (every text frame whose label is "frame1")
      -- paragraph 1 has no style overrides
                                            return style overridden of paragraph 1 --> false
      -- paragraph 2's leading is different
                                            return style overridden of paragraph 2 --> true
                                  end tell
                        end tell
              end tell
    end tell

Maybe you are looking for

  • "The Problem" is IPOD will not connect to windows

    I guess for those people that have not spent the last few days reading these posts I will add that "The Problem" that I am referring to in my previous post is the same one that everyone seems to be having. One of my IPODs was rendered absolutely usel

  • Content pane doubt

    What exactly is the content pane and what is its purpose? I read this but am still quite confused. By the mini flow chart thing, do they mean that first i create a JFrame and then i get the contentPane for it and then i can add components like JPanel

  • Where columnname like '%somevalue' causing full table scan

    hi, 10.2.0.4 database is it possible to force an index scan over a full table scan if I use a where clause similar to the following: where col1 like '%somevalue'; There is an index with col1 as the first segment of the index and another column as the

  • Play symbol more than one time

    I have 1 "master"symbol and within a animation This symbol is 2 times on the timeline, hidden at beginning of the timeline there is 2 buttons on the stage with 2 actions first button sym.$("mySymbol1").show(); sym.$("mySymbol1").play(0); second butto

  • Just a quick question re my broadband speed.

    Hi (again) The advertised speed (from BT's choose for package page) for my line is 8.5Mb-13Mb, but I only ever have 5meg max (on a good day)? Just wondered. Mazz Solved! Go to Solution.