Search found 6 matches

by taravasya
April 25th, 2011, 10:20 am
Forum: Script requests
Topic: Remove All Effects fro all Layers
Replies: 3
Views: 14973

Re: Remove All Effects fro all Layers

Well... I found how I can remove all expressions: { var comp = app.project.activeItem; if ((comp != null) && (comp instanceof CompItem)) { for (var i=1; i<comp.layers.length; i++) { recurse_children(comp.layers[i]); } app.endUndoGroup(); } else alert('no comp selected'); function recurse_chi...
by taravasya
April 25th, 2011, 10:11 am
Forum: Script requests
Topic: Remove All Effects fro all Layers
Replies: 3
Views: 14973

Re: Remove All Effects fro all Layers

Thanks Dan! It`s work perfect!!!

I think, I need else reset all settings, remove all keyframes and expressions on timeline from script.... :(
Can you do this script?
Thanks again!
by taravasya
April 24th, 2011, 2:48 pm
Forum: Script requests
Topic: Remove All Effects fro all Layers
Replies: 3
Views: 14973

Remove All Effects fro all Layers

Hi! I try to create a script, which will delete(clear), all efects of all layer from current composition. { var myComp = app.project.activeItem; myLayers = myComp.layers; for (var i = 1; i <= myLayers.length; i++) { myLayers[i].Effects.remove(); } } With this script, i have error: http://i076.radika...
by taravasya
March 4th, 2011, 7:15 pm
Forum: Scripts Discussion
Topic: Create a custom Control effect
Replies: 35
Views: 95988

Re: Create a custom Control effect

Is there any way to create my own effects, with several of the controller with a script, but without changing the xml file? I have this script: MyControl = LayerVideoA.Effects.addProperty("Slider Control"); MyControl.name = "Transition Duration" MyControl(1).setValue(2); Its crea...
by taravasya
February 18th, 2011, 3:02 pm
Forum: Script requests
Topic: TreeView without root and with folders as source for items.
Replies: 1
Views: 8372

Re: TreeView with folders as source for items.

OOOps... I forget. It`s possible to do so, what scripts in TreeView, showing without extensions?
by taravasya
February 18th, 2011, 2:31 pm
Forum: Script requests
Topic: TreeView without root and with folders as source for items.
Replies: 1
Views: 8372

TreeView without root and with folders as source for items.

Hello! (Sorry for my English :( ) My task is to create a TreeView simulating the structure of folders and files in the specified directory. In itself, this problem is easily solved the same way as in the example from Adobe, in the script: SnpCreateTreeView.jsx But I have a problem becomes more compl...