What causes FindChangebyList to not work from CS5 to CS3?
i've done dozen of these now. , txt file looks good. don't error either. jsx nothing. no error, nothing.
i ran older jsx file works against new txt file array of text , grep changes. nothing again.
i compared text , grep preferences asking old 1 works. didn't spot anything.
so question what?!?!!?!?!!?!? @!*(#&*(#&* assuming without error script runs fine, actual language of text , grep prefs cs3 not because doesnt execute it.
this very basic. looks string of of these bylines in "body" style , changes "byline" style. works perfect in cs5, i'm flabbergasted.
//find string of news agencies in body , change byline
grep {findwhat:"^the new york times news service\\r|^the washington post writers group\\r|^associated press\\r|^bloomberg news\\r|^canadian press\\r|^daily telegraph\\r|^financial post\\r|^national post\\r|^national post wire services\\r|^new york times\\r|^postmedia news\\r|^reuters\\r|^slate.com\\r|^the associated press\\r|^the canadian press\\r|^the daily telegraph\\r|^the media line\\r|^the new york times\\r|^weekend post\\r|^the new york times news service,\\r|^the washington post writers group,\\r|^associated press,\\r|^bloomberg news,\\r|^canadian press,\\r|^daily telegraph,\\r|^financial post,\\r|^national post,\\r|^national post wire services,\\r|^new york times,\\r|^postmedia news,\\r|^reuters,\\r|^slate.com,\\r|^the associated press,\\r|^the canadian press,\\r|^the daily telegraph,\\r|^the media line,\\r|^the new york times,\\r|^weekend post,", appliedparagraphstyle:"body"} {appliedparagraphstyle:"byline"} {includelockedstoriesforfind:false, includelockedlayersforfind:false, includehiddenlayers:false, includemasterpages:false, includefootnotes:true, kanasensitive:true, widthsensitive:true}
answered own question: turns out grep calls making not supported in cs3. grrrrrrr!!!
More discussions in InDesign Scripting
adobe
Comments
Post a Comment