var myComp= app.project.activeItem;
var thisLayer=myComp.selectedLayers[0];
var thisFile=thisLayer.source.file;
var selePath=thisFile.fsName;
var seleName=thisFile.dispalyName;
thisFile.execute();

Leave a Reply

Your email address will not be published.