Wednesday, July 4, 2018

Section Prefixes

Section Prefixes


Im sure there are people who think section prefixes are wonderful, but most of the time I bend over backwards to eliminate them. But you do have to remember to do it when you set up the sections. So, if youre in an after-the-fact situation and you want to eliminate them, how hard can it be?
//DESCRIPTION: Delete all section prefixes

if (app.documents.length > 0) {
aDoc = app.activeDocument;
aDoc.sections.everyItem().sectionPrefix = "";
aDoc.sections.everyItem().includeSectionPrefix = false;
}

I know Ive been neglecting the blog lately, but I hope people are still finding useful stuff here.

Dave

go to link download