Search found 21 matches

by CodingAe
February 5th, 2019, 6:13 pm
Forum: Script Tutorials
Topic: Atom text editor for after effects scripting
Replies: 10
Views: 51095

Re: Atom text editor for after effects scripting

If you don't using a new text editor you could use visual studio code (vs code). It's a text editor that a lot of programmers use and I like it a lot better than the extendscript editor. VS code has a extendscript plugin that will allow you to execute the script in vs code to After Effects. The text...
by CodingAe
July 9th, 2018, 4:55 pm
Forum: Script Tutorials
Topic: Create a window / GUI / panel fast using HTML in After Effects
Replies: 0
Views: 32838

Create a window / GUI / panel fast using HTML in After Effects

For those who are unfamiliar with using Adobe Extension Builder this tutorial should give a quick introduction on how to get started.
https://www.youtube.com/watch?v=e-_PGTWmbn4
by CodingAe
December 16th, 2017, 8:33 pm
Forum: Script Tutorials
Topic: Beginner Video Tutorial
Replies: 0
Views: 23094

Beginner Video Tutorial

Hello World, I've started a new tutorial series on Youtube for ExtendScript. These tutorial will be great for beginners and still useful for veterans. I only have one video for ExtendScript so far, but I will be bringing out two more videos this week and I have about 10 tutorials on Expression alrea...
by CodingAe
December 2nd, 2017, 9:45 pm
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29243

Re: Wiggle, how to use the output values?

Sorry for the late respond, but for these last two days I couldn't think of any way to use wiggle with another method like valueAtTime. The reason why I believe that After Effect is saying that "valueAtTime is not a function" is because After Effects is saying that there is error using val...
by CodingAe
November 29th, 2017, 1:35 pm
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29243

Re: Wiggle, how to use the output values?

That's weird, so what you are saying is that wiggle is not working at all. If you are trying use wiggle for the position value that's in the same layer then just use wiggle() without adding transform.position and it will work the same as writing transform.position.wiggle(). In theory since valueAtTi...
by CodingAe
November 29th, 2017, 8:04 am
Forum: Expression Discussion
Topic: Wiggle, how to use the output values?
Replies: 10
Views: 29243

Re: Wiggle, how to use the output values?

I'm not completely sure what you are trying to do, but this will make the first code work...

Code: Select all

var x = timeToFrames(time);

if(x % 2 === 0){
  wiggle(12, 50);
} else {
  thisComp.layer("Layer 1").transform.position.valueAtTime(time-.04); 
}
by CodingAe
November 23rd, 2017, 6:25 pm
Forum: Expressions Tutorials
Topic: Use an External Text Editor or IDE to code Expression
Replies: 1
Views: 31756

Use an External Text Editor or IDE to code Expression

If you are tired of the pain of the Expression editor then learn how to use an external text editor to code expression in After Effects.
 
by CodingAe
November 21st, 2017, 6:13 pm
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 21592

Re: Position Offset If Condition

Under the numX and numY variable (Note: You can get rid of numY, it's not doing anything): var row = thisComp.layer("Null 8").effect("Row Only")("Checkbox"); //Change this by pick whipping this to a checkbox control for X axis only var col = thisComp.layer("Null 8&...
by CodingAe
November 20th, 2017, 6:51 pm
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 21592

Re: Position Offset If Condition

I've got it to work: You don't have to zero your anchor this time, but if you are going to use this code make sure that the image layers are the first layers in composition If you tried using the earlier code, I forgot to tell you that the layers had to be the first layers in composition so sorry ab...
by CodingAe
November 20th, 2017, 10:58 am
Forum: Expression Discussion
Topic: Source Text to Image Size
Replies: 3
Views: 15130

Re: Source Text to Image Size

I'm happy that you found it useful.
by CodingAe
November 20th, 2017, 10:56 am
Forum: Expression Discussion
Topic: Convert Keyframe Values to Whole Numbers
Replies: 3
Views: 16985

Re: Convert Keyframe Values to Whole Numbers

No problem, glad I could help.
by CodingAe
November 20th, 2017, 10:37 am
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 21592

Re: Position Offset If Condition

The code above is made to make a perfect grid, but if you want more freedom to offset you use this: You don't have to set the transform anchor to 0 for this code, but it might make it easier to control: var numX = 2; // Change this variable for how many images you want in one row var numY = 4; // Ch...
by CodingAe
November 20th, 2017, 10:15 am
Forum: Expression Discussion
Topic: Position Offset If Condition
Replies: 7
Views: 21592

Re: Position Offset If Condition

This might be one way to achieve that. ***When using this code make sure that the values for the transform anchor for these images are both set at 0; var numX = 2; // Change this variable for how many images you want in one row var numY = 4; // Change this variable for how many you images you want i...
by CodingAe
November 19th, 2017, 11:03 pm
Forum: Expression Discussion
Topic: Source Text to Image Size
Replies: 3
Views: 15130

Re: Source Text to Image Size

You sure can. This is one way you might want to go about it. var temp = thisComp.layer("text").text.sourceText; // Pick whip sourceText from the text layer you want to use var num = Number(temp); // Number is a method that allows you to parse/convert a value to a number data type [num, num...
by CodingAe
November 16th, 2017, 3:39 pm
Forum: Expression Discussion
Topic: Convert Keyframe Values to Whole Numbers
Replies: 3
Views: 16985

Re: Convert Keyframe Values to Whole Numbers

Before you "Convert Expression to Keyframes" in 2 array transform properties like position, anchor, or scale you can use this var x = Math.floor(value[0]); // Math.floor will round down the decimals to a whole number var y = Math.floor(value[1]); [x, y] For transform properties with no arr...