Findchangebylist functions
Question concerning the use of findchangebylist in CS3.
I want to search a file for a string and apply a paragraph style,
from the suport file for this I have:
grep {findWhat:"\tBB\tSO\tAvg.\r"} {appliedParagraphStyle:"z_AG tab bb batters bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
and nothing happens. I have tried doing a find and search for AVG and it still does not change the paragraph style. I can do a a search and find a string and apply a character style, but cannot get it to apply a paragraphy style..
the entire support text file looks like this:
text {findWhat:"—"} {changeTo:":"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
text {findWhat:"LOB"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
text {findWhat:"2B"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"3B"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"HR"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"RBIs"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"E"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"CS"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"S"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"SF"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
grep {findWhat:"Runners left in scoring position"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"Umpires"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"DP"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"T"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
text {findWhat:"A"} {appliedCharacterStyle:"AG Text Bold"} {appliedCharacterStyle:"AG Text Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:true}
grep {findWhat:"IP\tH\tR\tER\tBB\tSO\r"} {appliedParagraphStyle:"z_AG tab bb pitchers 8 bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
grep {findWhat:"\tBB\tSO\tAvg.\r"} {appliedParagraphStyle:"z_AG tab bb batters bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}