cansetexpression is false, unable to set value
Hey guys,I'm writing a script that will copy the layer setup (complete with layer styles, effects, etc) of a comp that I can duplicate on another comp. For the most part, it's working, except on a...
View ArticleHTML textarea value to jsx in AE extensions
I want text from html textarea to my text layer in ae.myComp.layers.addText(textFromHTML);This works in browser, but how to get that string into my jsx file?HTML:<textarea name="message" id="name"...
View Articlemanipulating data from the AEPX
Hey guys,I'm trying to write a script to save a layer setup, effects, layer styles, and all, and be able to apply it to other comps later (with source footage changes). It's mostly working except for...
View Articleoutput module "Full Flat Path" not working as expected
Hello, My script contains this line: var new_dataMOVIE = {"Output File Info": {"Full Flat Path": fullFlatPathMOVIE + myCompText}}; The path it creates is correct, but when AE makes the output module...
View ArticleScript to add layer markers?
Hey guys! I want to create a script that would allow me to add layer markers to a solid layer at consistent intervals based on the number of AV layers I have in the comp. So say I input the interval...
View ArticleDo I need Mac and PC to make cross-platform scripts?
Hi everyone I know that a script developed on Windows should by default work on Mac and vice versa, but is that always true regardless of how complex the script is? Do developers of big or popular...
View ArticlePosition keyframe equality
How do i check if 2 keyframes have the same value? I have 1 layer in composition with 2 identical keyframes. But when I try to compare their values, the result is "false". Why? What am I missing? Here...
View ArticleHow to display dialog that contains some text fields and buttons?
I am beginner on after effect plugin.I am going to display a dialog that customer can enter some informations inside my plugin.How can I implement the function(cross-plateform)? Thank you.
View ArticleCreate and delete text layer
Hello. I've searched the web upside down searching for a script that would do the following: In the first script would be for text creation and searching I was able to find how to create a script, but...
View Articlechange default property of applyPreset()
I am using applyPreset(file) on a text layer. The preset is simple and is meant for testing purposes: sr = sourceRectAtTime(time,true);transform.anchorPoint = [sr.left+sr.width,sr.top]; This is how I...
View ArticleIdentify if a layer is c4d layer
You can use layer instanceof TextLayer to identify layer being a text layer. How can cinema 4d layer be identified as a c4d layer? These layers have a cineware effect, so hypothetically you could check...
View ArticleMy script for discovering the names of AE properties
Here's a short script I wrote some time ago which recursively walks through the property chain of layer(s). I use it whenever I need to find a property name for a given element within AE. To run the...
View Articlemove a Keyframes in timeline
Hi guys, How can I move a Keyframes forward or backwards in timeline with scripting?
View ArticleWould like some help with some lines of code
Hello community.I am looking for a way to create a template for a series I am working on. I made a base template with a comp called _SCENE. This is the work composition and I am trying to get all...
View ArticleonResizing
hi, What should I do in order to make the script responds like the script that attaches to the gif?{var myWin = buildUI(this);if (myWin != null && myWin instanceof Window) { myWin.show(); }...
View ArticleTest my script
Can someone test if this script works on Windows & Mac correctly?Some say they get "Connection error" When send massages. Please?Thanks My Script Link Is Here
View ArticleSelecting layers - how to capture this event?
Hello, is it possible to call addEventListener or something like this that would capture selecting layers? I want to change something in my script depending on layers, but I don't want to reload values...
View ArticleCreate new wav file
Hello guys, Here is the situation. I have a CEP panel in AE with bunch of buttons, where each of them runs different functions of a .jsx script. One of these buttons is "Check AE", which checks if...
View ArticleAE error: This property has no maximum value
I am iterating through comp layers and layer properties and saving them in an object. I then call JSON.stringify() on the object created put in JSON valid format. Unfortunately I am getting an error:...
View ArticleMysterious PropertyValueType.CUSTOM_VALUE
I've read a discussion started in 2014, stating that you can't access property values of type PropertyValueType.CUSTOM_VALUE. Also, you can't set it. There is pretty much nothing you can do with them....
View Article