[Old topic] Find Text by Formatting and convert to outline
Hi everyone!
I've found this script on an old topic and it's exactly what I need, however when I run it on JavaScript I get this message "found.createOutlines is not a function". Can anyone have a look on it for me?
var doc = app.activeDocument;
app.findTextPreferences = null;
app.findTextPreferences.appliedCharacterStyle = "Pink Text";
var found = doc.findText();
for(var i =0;i<found.length;i++)
{
found.createOutlines();
}
app.findTextPreferences = null;
Thanks in advance,
Rogerio
