書き込んだあとで気づきました。
「特色のオブジェクトの白ノセを解除してない」
ということに……。
ってことでそれもできるように付け加えました。
こっちが本当の最終バージョン。
------------------------------------------
doc = app.activeDocument;
count = 0;
for (i=0; i<doc.pageItems.length; i++)
{
    if(doc.pageItems[i].typename == "PathItem")
    {
        fc = doc.pageItems[i].fillColor;
        if((fc.cyan == 0 && fc.magenta == 0
            && fc.yellow == 0 && fc.black == 0)
            || fc.gray == 0)
        { doc.pageItems[i].fillOverprint = false; count++; }
        else if(doc.pageItems[i].fillColor.tint == 0)
        { doc.pageItems[i].fillOverprint = false; count++; }
    }
    else if(doc.pageItems[i].typename == "TextFrame")
    {
        if(doc.pageItems[i].contents.length > 0)
        {
            fc = doc.pageItems[i].textRange.fillColor;
            if((fc.cyan == 0 && fc.magenta == 0
                && fc.yellow == 0 && fc.black == 0)
                || fc.gray == 0)
            { doc.pageItems[i].textRange.overprintFill = false; count++; }
            else if(doc.pageItems[i].textRange.fillColor.tint == 0)
            { doc.pageItems[i].textRange.overprintFill = false; count++; }
        }
    }
}
alert( count + "個の修正を完了しました。");
[13329] 森野クマ (2011/12/13 Tue 15:18) web