Find and change GREP characters
hi,
is possible find , change word (or character style) in end of each paragraph line finded text.
is possible script?
my script
app.findgreppreferences.appliedcharacterstyle = "italic";
myfind = mydoc.findgrep();
for(i=0; i<myfind.length;i++){
myindex = myfind[i].paragraphs[-1].parentstory.characters[myfind[i].index-1];
myindex.contents = specialcharacters.em_space;
}
but find italic styles , insert em space.
i need change end of line character style("italic")
any great.
hurix
hi,
is need?
myfind[i].insertionpoints[-2].contents = specialcharacters.em_space;
jarek
More discussions in InDesign Scripting
adobe

Comments
Post a Comment