Search found 3 matches

by Andrei Popa
March 18th, 2020, 12:48 am
Forum: Scripts Discussion
Topic: Wait for saveFrameToPng() to create the file.
Replies: 0
Views: 5272

Wait for saveFrameToPng() to create the file.

Hello everyone. I am trying to make a direct composition to png string. I thought about saving the comp to a png, then open png, turn it into ScriptUI usable code(with .toSource()) and then delete the png. The problem is that the script tries to do all these things before the png is created. Can I w...
by Andrei Popa
March 18th, 2020, 12:28 am
Forum: Scripts Discussion
Topic: something wrong with rd: Script Launcher or my script ?
Replies: 1
Views: 3957

Re: something wrong with rd: Script Launcher or my script ?

You may experience some difficulties due to name polluting. Try changing your script to this: (function () { curComp = app.project.activeItem; L = curComp.selectedLayers[0]; if (L) { app.beginUndoGroup("set grey to 73%"); if (!L.Effects.property("Grey Levels")) { L.Effects.addProperty("Levels (Indiv...
by Andrei Popa
December 5th, 2017, 10:47 am
Forum: Script Tutorials
Topic: Atom text editor for after effects scripting
Replies: 10
Views: 27905

Atom text editor for after effects scripting

Hey everyone. I am hitting my head against a wall here for quite some time. I tried to use atom for editing my scripts but it is very hard to constantly copy and paste my code into extendscript to run it. Does anyone know what settings must be done to atom to make it run Affter Effects scripts? I kn...