var f=app.activeDocument.compositeFonts[1].compositeFontEntries; alert(f.length); f[0].remove(); alert(f.length);