fabianmoronzirfas
8/22/2012 - 8:37 AM

alert pathpoints length in selection AI

alert pathpoints length in selection AI

   var count = 0;  
        for (var i =0; i < app.activeDocument.selection.length;i++){  
        try{count+=app.activeDocument.selection[i].pathPoints.length;}catch(e){}
        };
        alert("you have "+count+ " pathpoints in your selection");