Question
Find and replace text CS2
hi scripters
here I am trying to find the text applied Arial font. I just want to replace some text before and after the text.
I have started but I am struck what's next, can you any one suggest me please
app.findPreferences = NothingEnum.nothing;
app.changePreferences = NothingEnum.nothing;
app.findPreferences.appliedFont = 'Arial';
var myResults = app.activeDocument.search();
for (i = myResults.length-1; i >= 0; i--)
{
(myResults.select())
}
example:
Text found applied font Arial : "I am Arial font"
Want to replace same font but text like this: "I am Arial Font "
Thanks in advance
regards
a r u l
here I am trying to find the text applied Arial font. I just want to replace some text before and after the text.
I have started but I am struck what's next, can you any one suggest me please
app.findPreferences = NothingEnum.nothing;
app.changePreferences = NothingEnum.nothing;
app.findPreferences.appliedFont = 'Arial';
var myResults = app.activeDocument.search();
for (i = myResults.length-1; i >= 0; i--)
{
(myResults.select())
}
example:
Text found applied font Arial : "I am Arial font"
Want to replace same font but text like this: "
Thanks in advance
regards
a r u l