1 Reply Latest reply on Apr 3, 2009 5:16 AM by Kasyan Servetsky

    CS4 ID Mac: Using FindChangeByList.jsx to Apply Paragraph Styles

      Novice to JavaScript... using the FindChangeByList, I want to do a series of GREPs to apply Paragraph styles according to the characteristics of the paragraphs imported from Word. I feel that I am making simple mistakes,any input will be welcome.<br />Here is a sample line to apply paragraph style "CB" to all paragraphs that are Arial, 8 pt, Regular, Left-aligned.<br /><br />grep<tab>{findWhat:""} {appliedFont.Arial, fontStyle.Regular, pointSize.8, justification.leftAlign}<tab>{changeTo:"", appliedPargraphStyle.CB}     {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}<tab>Find all Arial 8pt Regular Left-aligned paragraphs and apply style named CB.