Hi djbgraphicdesign,
in your example pathItem is not defined. Please use doc.pathItems[counter] instead.
var doc = app.activeDocument; for(i = doc.pathItems.length-1; i >= 0; i--){ if(doc.pathItems[i].filled == false && doc.pathItems[i].stroked == false) { alert("Found " + doc.pathItems[i] + " i"); doc.pathItems[i].remove(); } }
This should do the job.
(You can also use a variable for doc.pathItems and use this variable instead.)
Have fun