1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(function () { resetPSR(); function resetPSR() { var composition; composition = app.project.activeItem; if (!composition || !(composition instanceof CompItem)) return alert("Please select composition first"); app.beginUndoGroup("Reset PSR"); app.executeCommand(2605); // Transform -> Reset app.endUndoGroup(); } })();
You can clone a snippet to your computer for local editing. Learn more.