Search found 10 matches

by Chacal
March 15th, 2018, 9:50 am
Forum: Scripts Discussion
Topic: Close a Dockable Panel
Replies: 0
Views: 8639

Close a Dockable Panel

Hi everyone. I think have worked this in every way I know possible without finding any thing. I want to close my Dockable Panel with my script. I created a script that I put in Script UI Panel. It does some checks over the computer and, depending on the results, I want it to continue or close. But I...
by Chacal
January 19th, 2018, 1:14 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Re: Wiggle, how to use the output values?

Just to update this thread.

Instead of using the output values of a wiggle, I finally discovered the posterizeTime() function, which does exactly what I needed.

Thanks for everybody trying to help.
by Chacal
January 15th, 2018, 11:06 am
Forum: Expression Discussion
Topic: Shape Layer Rectangle Path 1 Size x,y to Slider Control
Replies: 1
Views: 13838

Re: Shape Layer Rectangle Path 1 Size x,y to Slider Control

Hi, When you say that you are creating a preset: Are you saving an animation or coding a PseudoEffect? If it is the first case: then you add two slider controls to your layer, "Slider X" and "Slider Y", then in scale in your path, you write: [effect("Slider X")("Sl...
by Chacal
December 11th, 2017, 1:07 pm
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Re: Wiggle, how to use the output values?

Hi, So sorry, you are right! This code works just fine for the wiggle. I do not know what I did... Thanks! I still do not succeed to make this work with a loopOut() but that is nice first step :D Thanks for the side note! I really did not know that. But if it is just an array, why can't I apply a va...
by Chacal
December 10th, 2017, 3:37 am
Forum: Expressions Library
Topic: Random move & pause URGENT
Replies: 6
Views: 34430

Re: Random move & pause URGENT

Hi, I cooked up something from Dan Ebberts expression to answer your request. The thing is, you will have to create a script to apply the expression. Just copy/paste this code in notepad and save it as a jsx file, then run it from after effect. var PosProp = app.project.activeItem.selectedProperties...
by Chacal
December 9th, 2017, 3:43 am
Forum: Expression Discussion
Topic: Controlling keyframes with slider in Ease and Wizz
Replies: 1
Views: 12436

Re: Controlling keyframes with slider in Ease and Wizz

Hi,

I do not know the ease and wizz expressions, I looked it up, are you talking about this plugin?: https://aescripts.com/ease-and-wizz/

If you are, I would need to see the expression you already have, in order to help you.
by Chacal
December 9th, 2017, 3:39 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Re: Wiggle, how to use the output values?

Hi, Sorry I've been so long to answer. @ beginUndoGroup : I tried the code you propose. Unfortunatly, it does not do the trick, the position is not kept, the object moves everyframe. I checked the type of "thisComp.layer("Rouge sombre uni 1").transform.position.wiggle(12,50)", an...
by Chacal
November 30th, 2017, 1:16 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Re: Wiggle, how to use the output values?

When I write: w = wiggle(12,50); x = timeToFrames(time); if (x % 2 == 0)     {         w;     } else     {         w.valueAtTime(time-.04);     }    The wiggle works just fine in the first case but the error come up in the second case.    I think it's the same kind of problem if you want to add a lo...
by Chacal
November 29th, 2017, 9:01 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Re: Wiggle, how to use the output values?

Hum, I think I did not explain it right. I created this piece of code to have my animation moving at a step of two frames in a comp at 25fps. var Prop = transform.position; var x = timeToFrames(time); if (x % 2 == 0)     {         Prop;     } else     {         Prop.valueAtTime(time-.04);     } And ...
by Chacal
November 29th, 2017, 1:53 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29472

Wiggle, how to use the output values?

Hi, so here is my problem: w = wiggle(12,50); x = timeToFrames(time); if (x % 2 == 0)     {         w;     } else     {         w.valueAtTime(time-.04);     } After Effects tells me that w.valueAtTime is not a function. But when I use the position (for example) of another layer with the wiggle, my c...