You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a quick lil snippet to check; just run it in your AE version:
(functioncheckLayerSavePreset(){app.beginUndoGroup("Layer.savePreset Version Check");varcomp=app.project.items.addComp("Test",4,4,1,1,24);varlyr=comp.layers.addShape();vartempFilePath=Folder.desktop.fsName+"/_tempFile.ffx";vartempFile=newFile(tempFilePath);varexists=false;try{lyr.savePreset(tempFile);exists=true;}catch(e){}comp.remove();tempFile.remove();app.endUndoGroup();if(exists){alert("Layer.savePreset() exists in "+String(app.version));}else{alert("Layer.savePreset() does not exist in "+String(app.version));}})();
Would appreciate if others could check more AE builds between the two above to narrow down when it was added.
As an aside, this should also be added into the types-for-adobe project.
The text was updated successfully, but these errors were encountered: