add tab character before particular paragraph style content
I need to add tab character before particular paragraph style content
app.findTextPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyles.item("IDX2");
list = app.activeDocument.findText();
// 2. For each found item ...
for (i=0; i<list.length; i++)
{
app.select(list)
app.selection[0].insertionPoints[0].contents="\t"
}
But the above code only working in the first occurance. But I need to add the tab character all the applied paragaph content
How to do this
