Array indexOf() Reference Error?
Hello, I have these simple code lines and on line 20 I'm getting the error in the comment but I cant find the problem in my code var directions = [0,1,2,3]; var lockedDirection = 0; var...
View ArticleExtendscript Toolkit freezes intermittently when linked to AE CS 2014
Whenever I have ESTK linked to AE CC 2014 I get intermittent freezes, during which ESTK becomes unresponsive for a few seconds. Unlinking it from AE eliminates these freezes, but this obviously means...
View ArticleProblem changing font size
Hello, I've been working on a script and have the following line of code, where I create and want to edit the font size of the just created text. However I can't seem to get it work. I can change some...
View ArticleHow to re align a layer to a composition every frame using a script?
I have a text layer in a composition. The text on the layer changes every frame. What I want to do is write a script that aligns that layer to the composition every frame. If you need further info,...
View Articlehow to write Live expressions using Extendscipt?
Hi, I am trying to write a script for after effects CC using Extendscript. Wondering if it is possible to add live expressions to a layers properties like "thisComp.layer("Layer 1").transform.position"...
View ArticleHow do I use a json file to animate a bar graph?
I am very new to javascript, so forgive me if my terminology is wrong. I have created a json file with all of the data for a bar graph. How do I bring it into after effects to be able to parse the data...
View Articlehow to keep anchor in middle while changing height and width for comp in...
When i try to change my composition height and width using extendScript, it works but with anchor point at top left corner. How do I maintain it at the center??My code:comp.width = 4000;comp.height=...
View ArticleopenInViewer Workaround?
Hi, I was wondering if there was some workaround code for doing the command openInViewer for cs3, cs4, and cs5? Thanks!
View ArticleDo you use scripting methods to initiate previews?
If you ever use a scripting call to initiate a preview, respond to this thread with details about how you do this and why. We're in the middle of making some preview changes that have implications for...
View ArticleCreating a folder structure at a defined location on your desktop from AE via...
I've written a script that creates a folder structure in my AE project view but I would like to then be able to run another script (eventually tied to a button on a GUI panel) that allows me to define...
View ArticleScriptUI Resource String: EditText: Color
Is there a way to call out the color for a EditText string? I can't find any reference to this. var res = "group{ ,\ myEditText: EditText{text: 'My Text'} ,\}"
View Articleautomatisation
bonjour, voila j'ai un soucis de taille concernant l'automatisation dans after effects ( débutant ); jai plus de 300 vidéos sur desquelles je dois appliquer un lower third avec le nom et le titre au...
View ArticleQuick menu
hey guys, I'm trying to create a script that executed different actions with a drop down menu. I am thinking of using if/else statements for the items, but I'm not a coder! Is there a simpler way to do...
View ArticleGenerate Comp based on dropdown list and checkbox selection?
I currently have a dropdown list with three sizing options in it. Then I have two check mark boxes, one if checked ideally would create the template at its normal composition size and if the other...
View ArticleNew Comp from Selection Scripting
Hello, I cannot get the following command to work in my script: app.executeCommand(app.findMenuCommandId("New Comp from Selection...")); however, the following does give me result of 2796:...
View ArticlePossible to get padding around text that appears in EditText control?
Hi There, Just curious to know if there is some code to add padding around an EditText UI control with ExtendScript. I have a single-line EditText field, and I'm able to resize the height of it, but...
View ArticleRecognize Solid in Comp?
Hey, I was wondering if it is possible to detect if a layer within a comp is a solid? The code below is going through all the items in the project. If the item is a comp, it then goes into its layers...
View ArticleGet project folder
Is there a way to grab the folder an AE project is in and store it as a var? Thanks!
View ArticleIdentify all item types within project window?
I'm not sure if this is within the bounds of what AE Scripting can do, but is there way to identify all layer types within the Project Window exclusively? I'm basically trying to grab the item, check...
View Article