var docRef = app.activeDocument;
var mySelection = docRef.selection;
for(i=0; i < mySelection.length; i++) {
if(mySelection[i].constructor.name == "PathItem") {
var pp = mySelection[i].pathPoints;
for(j=0; j < pp.length; j++){
if(pp[j].selected == PathPointSelection.ANCHORPOINT) {
pp[j].[COLOR=DarkRed][B]left[/B][/COLOR]Direction = pp[j].anchor;
}
}
}
}