Unable to execute script at line 1. book is undefined
I get an error reading "Unable to execute script at line 1. book is undefined" any time I attempt to open a script in AE. I tried calling Adobe Support but after half an hour on the phone they were...
View ArticleConsole and Data Browser blank in ExtendScript
Hi,I'm using the latest version of ExtendScript CC on windows 10, and if I select anything other than 'ExtendScript Toolkit CC' from the application target list in the top left, the JavaScript Console...
View ArticleUnable to setValue() in a Slider
Hello everyone! I am currently working on a project that needs to memorize certain values. So I tried to do this by writing them into a Slider but however I try it, there always is the error that...
View ArticleScriptUI button active blue marker
Hi I'm making a ScriptUI panel. I have a icon button which is based on an png image I load: var button = container.add("iconbutton",undefined, imagePath, {"style":"toolbutton"}); The image isn't a...
View ArticlePython and After Effects Scripting on Windows
So I recently stumbled across this: GitHub - lohriialo/photoshop-scripting-python: Scripting in Photoshop is used to automate a wide variety of repetitive t… As well as this here (somebody else has...
View Articleaerender script
What I'm currently doing. Using the new JSON feature I update my data using a JSON file, using aerender this works fine. The only flaw is that it runs awfully slow rendering it out. What I can do. if...
View ArticleEdit Property Name in Essential Graphics Panel
Hi,I added my properties in Essential Graphics Panel with script,But not change property name in Essential Graphics Panel with Scripting!How to change the property name in Essential Graphics Panel with...
View ArticleRename property in essential graphics panel with a script
How can I rename a property added to the essential graphics panel with a script?
View ArticleCheck if Layer Has Specific Effect Applied To It
In extendscript, how can I check if a layer has a specific effect applied to it? For example, suppose I want to check if a given layer has the "motion tile" effect applied to it. Essentially, this is...
View ArticleHow to "Convert To bezier Path" vía scripting
Hi everyone!I´m looking for the way to convert a parametric shape (like Rect or Ellipse) into a bezier path.I have tried it viaapp.executeCommand('Convert To Bezier Path'); but since "Convert To Bezier...
View ArticleSending to media encoder and remove from render queue - error
Hi guys, I'm sending a comp from render Queue to Media Encoder,and then I'm removing the item from render Queue. but when I run the code, After effects crashes . Any help? This is my code: { var...
View ArticleLinking dropdown in text animation to an expression
Hi, I'm a long time user of AE but still somewhat of a novice when it comes to expressions. Anyway, I'm trying to setup presets for the text animations since I do a lot of repetitive work. My question...
View ArticleLoop through Comps and adding a layer causes problems
Hey Guys, I am new to scripting for After Effects. Unfortunately i couldn't find a solution in the forum. I've written a script that adds a null to all existing comps. var proj = app.project;var...
View Articleget value of layer controller in aftereffects
Hi,i need to get value of layer controller with script, since aftereffects 2018 layer controller has 2 drop downs, first drop down shows all layers, second drop down shows [effect, mask, effect &...
View Articlegetting comp in timeline
I want to return the name of the current comp in the timeline or return a string if the no comp is active in the timeline. app.project.activeItem won't work because it returns an active comp from the...
View ArticleGet markers from video exported from Premiere?
I'm setting up a workflow for the Templater plug-in but I need to get markers from the base video file which gets dynamically replaced. When you drag a video (that was exported from Premiere) into Ae,...
View ArticleTyping on text—getting most recent character
Hi, I feel like the answer to this is probably a resounding "no" but figured i'd ask out there for those who know buckets more than i do. If i have a line of text typing on (say, with the typewriter...
View ArticleHow to automate solids in a shape layer with scripts?
Hello, I'm very new to the forum but I've been looking all around for a solution for this problem and I still haven't found anything that works. I've created a short video of what I want to...
View ArticleFind comp by specific character in extend script
Hi all my apologies if this information is already available I failed to find it under any of my searches. I am looking for a way in extend script to identify if a comp name starts with a specific...
View ArticleTwo Render Queue windows opening, then UserWorkspace.xml gets corrupt
Hi all, I've got a complicated bug maybe someone can shed some light on, or at least help me figure out how to diagnose: Some projects will have the user's workspace "attached" - on opening the project...
View Article