Search found 51 matches

by bkan
September 18th, 2014, 8:13 am
Forum: Scripts Discussion
Topic: Scale and position a layer onto another
Replies: 0
Views: 8092

Scale and position a layer onto another

Hello, I try to scale and position a layer (calqueMatte) according to another (monCalque). It works when the anchor point of my "another layer" (monCalque) is in the center of the layer, but does not work when the anchor point is somewhere else than in the center. My code is simple as this...
by bkan
September 18th, 2014, 8:10 am
Forum: Scripts Discussion
Topic: DropDownList update
Replies: 2
Views: 8752

Re: DropDownList update

OK, thank you, it works!
by bkan
September 17th, 2014, 3:16 am
Forum: Scripts Discussion
Topic: DropDownList update
Replies: 2
Views: 8752

DropDownList update

Hello, I've got a problem to update my DropDownList in my UI. I don't know how to change the value in this DropDownList. I've got a button in my UI which update my list, it works, but i don't know how i can repopulate my DropDownList . A part of my code : maListe:DropDownList{properties:{items:"...
by bkan
September 5th, 2014, 3:40 am
Forum: Scripts Discussion
Topic: How to know the order of selected effects??
Replies: 0
Views: 7906

How to know the order of selected effects??

Hello, Is it possible to know the order of selected effects? I tried this but it's not in the good order : var activeItem = app.project.activeItem; var selectedLayers = activeItem.selectedLayers; var selectedEffects = selectedLayers[0].selectedProperties; for (i = 0; i < selectedEffects.length; ++i)...
by bkan
September 4th, 2014, 8:07 am
Forum: Scripts Discussion
Topic: How to know how many parameters does have an effect??
Replies: 3
Views: 9832

Re: How to know how many parameters does have an effect??

OK sorry it is app.version!
by bkan
September 4th, 2014, 8:01 am
Forum: Scripts Discussion
Topic: How to know how many parameters does have an effect??
Replies: 3
Views: 9832

Re: How to know how many parameters does have an effect??

Oh, thank you!
Another question : is it possible to detect which version of after effects is using, because the numProperties of an effect vary according the version : in CC, there is one more property per effects which is the new "Compositing options"!!

Thanks
by bkan
September 4th, 2014, 12:25 am
Forum: Scripts Discussion
Topic: How to know how many parameters does have an effect??
Replies: 3
Views: 9832

How to know how many parameters does have an effect??

Hello, I just want to know if it's possible to know how many parameters does have an effect? For example, var controler = app.project.activeItem.layers.addNull(); var ombreControler = controler.Effects.addProperty("ADBE Drop Shadow"); I tried ombreControler.property.length but it returns 0...
by bkan
July 30th, 2014, 1:25 am
Forum: Scripts Discussion
Topic: addEventListener doesnt worjk anymore in AE CC??
Replies: 1
Views: 9146

addEventListener doesnt worjk anymore in AE CC??

Hello, I have migrated my own script from CS6 to CC, and all scripts work, except those with an "addEventListener" function. Here is my code (after building th UI, which works well) : myPanel.grp.myTabbedPanel.myTab1.myTabContent1.addEventListener('click', multiWiggle); function multiWiggl...
by bkan
July 4th, 2014, 2:53 am
Forum: Scripts Discussion
Topic: Migrating my own scripts from cs6 to cc does not work.....
Replies: 3
Views: 9746

Migrating my own scripts from cs6 to cc does not work.....

Hello, I made many scripts for my own work, which was working when I used CS. Now I'm on CC, certains scripts don't work. When I clic on it, nothing happens, even the JSdebugger does not load.... For example, this script, which add a wiggle parameter, does not work anymore : function wiggleControlle...
by bkan
November 26th, 2013, 2:45 pm
Forum: Scripts Discussion
Topic: launch a preset bug
Replies: 9
Views: 17351

Re: launch a preset bug

OK, really strange : it works on AE CS5, but it fails with ae CS6......
by bkan
November 26th, 2013, 8:27 am
Forum: Scripts Discussion
Topic: launch a preset bug
Replies: 9
Views: 17351

Re: launch a preset bug

Yes, of course, it works. Have you tried the script on your machine? Does it works? I can't understand the "line 7 execution halted"!
by bkan
November 26th, 2013, 7:31 am
Forum: Scripts Discussion
Topic: launch a preset bug
Replies: 9
Views: 17351

Re: launch a preset bug

That code doesn't hook up what you select in the dialog to what you apply as the preset. Does it write true or false into your ESTK console? This will tell you if your path in the code is pointing to a correct file. If not, swap it with the path that gets written to the console after the File.open ...
by bkan
November 26th, 2013, 6:47 am
Forum: Scripts Discussion
Topic: launch a preset bug
Replies: 9
Views: 17351

Re: launch a preset bug

Thank you again, Paul!
But it's really strange, because on my computer, I locate the prest and clic OK, but then after effects tell me "Line 7 Execution halted" (for the line "calque.applyPreset(myPreset);"). I had the same error in my previous code ; strange, isn't it?
by bkan
November 25th, 2013, 1:47 am
Forum: Scripts Discussion
Topic: launch a preset bug
Replies: 9
Views: 17351

launch a preset bug

Hello, I try to apply preset on text layers selected, but it doesn't work. I can't understand why : var presetPath = ("C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\Presets\PRESETS PERSOS\NEW MATRUNKS\animTexte3D.ffx"); var myPreset = File(presetPath); for (var i=0;i<app.pro...