Find Format, Font Style, Character Style, Find and Change,,, Javascript or Applescript
i'm trying first whoop @ script , in dire need of help. i've downloaded kinds of example, elaborate.
here's i'm trying do:
a find/change, find format (basic character formats; font style "italic")
then
change format (character style; "my style")
i've tried create in applescript , in extendscripttoolkit.
yesterday read adobes script intro pdf.... now, don't know if i'm more confused or understanding what's going on.
here's attempt—
{
cstyle = app.activedocument.characterstyles.add({name:simple_italic});
if (italic) cstyle.fontstyle = app.findtextpreferences.fontstyle;
}
}
app.changetextpreferences.appliedcharacterstyle = simple_italic;
app.activedocument.selection[0].parent.changetext (false);
}
is close?
thanks, t—
actually, jongware's preptext works!
however, adds character styles....
which don't want. i've tried edit script using (simple_bold, simple_italic etc.) character styles, no luck.
this jongware's script:
More discussions in InDesign Scripting
adobe



Comments
Post a Comment