Add a Layer Style (Stroke)
Hi guys, I trying to add a Layer Style Stroke width extendScript.i'm trying this code but it doesn't work. here is my code:var layer = app.project.item(1).layer(1); layer.property("ADBE Layer...
View ArticleHow does one install AE Adobe ExtendScript toolkit?
I'm new to AE and I've just learned that I must install the Adobe ExtendScript toolkit before I can begin working with a plugin. I'm not finding any helpful information regarding the toolkits for this...
View ArticleScriptUI Edittext font/color
I've used the code in the doc: e.graphics.font = ScriptUI.newFont ("Letter Gothic Std", "Bold", 30); e.graphics.foregroundColor = e.graphics.newPen (e.graphics.PenType.SOLID_COLOR, [1, 0, 0], 1);...
View Articleneed help with open folder (in Explorer) and click on Toggle Transparency Grid
hi guys, can i with Extended script enable Toggle Transparency Grid ? i try using app.executeCommand( app.findMenuCommandId(Toggle Transparency Grid));and nothing. and also can i some how open folder...
View ArticleLicense framework for jsx files
Hi friends, I have a framework for a license system that is well suited for jsx files. With this framework you can restrict users to use your script (for example, one license for one user), and you...
View Articlehow to scale while keeping the layer center position
when scaling layer up or down its position changes. how can i compensate for this shift keeping its relative position?sample code: function scale1(a,b,c){var x2s =...
View ArticleFind image path mac
Hey Guys, I’ve been trying to use this line of code to find out what the specific path image is on mac. I’ve not having any luck (an error on my part i'm sure) and would love someone to give me an...
View Articlehow to freeze frame?
how to i set layer to freeze frame at time? if there is no direct acess to it can time remap be used somhow? function timeremap1(a,b,c,d){ var comp = app.project.item(2); var layer =...
View Articleapp.project.renderQueue.queueInAME(true)
Does anyone know if it's possible to pass settings as well? Whatever the last setting was used on Media Encoder is the setting it will use. Otherwise this feature is brilliant.
View ArticleEmbedding one ScriptUI into another ScriptUI - #include? (AE ExtendScript)
Hi! I'm trying to combine two ScriptUIs. I have one main "dock" UI panel for users, and I have another ScriptUI that I'd like to embed in another tab of this main dock.When I use #include or $evalFile,...
View ArticleHow to handle very big variables.
Hello. I am writing a script that handles some very big variables. Those variables are not used at the same time, you can only choose one at a time. At the moment they are all grouped in an array(5 to...
View ArticleExecuting a button click from a script
Hi all! I'm working on a project which uses Trapcode Form, and need to activate a UI button ('Apply') in order to generate keyframes and apply the effect: I've isolated the 'Commands' property object...
View ArticleControlling Solo layers across multiple compositions
Hey there, I was wondering whether someone could help with this. I have a large project which is running very slowly because of the number of precomps I'm having to work with. In a bid to tackle this...
View ArticleRunning Script File without UI from command prompt
Without getting into too much unnecessary details, I have a script I wrote that opens some files, changes a few things, and saves it as a new file. That is the basics of what it does. Nothing too...
View ArticleModify Slider Range with Script?
Hi crazy people ! Can anyone tell me if it is possible to modify the range value of an Expression Control / Slider Control using script?I'm getting change the value of the slider, but I can not find...
View ArticleNeed help in writing a script to import Rotoscoping mask
Hello, I am looking to perform rotoscoping on one of my videos. I have found Clearvid.io online service that performs rotoscoping. They provide the points of the resultant masks of rotoscoping in a...
View ArticleScript UI - EditText
Hi friend, I have a script with "EditText" inside, and I want to changethe writing direction (of the default) - from left to right to right-to-left. I can do this manually (by right-clicking on...
View ArticleGetting layer animation curve maxPoint
I am writing a script that adjusts the size of a composition based on the size and positions of its content. The script takes into account the animated layers, measuring in each keyframe the bounds of...
View Articlehow to register access to the properties of the effect ID Matte through AE...
Good afternoon...Trying to record the settings for the effect ID Matte. How to switch property Aux.Cannel via AE ScriptingFor example, I want to switch to ID Material...
View Articlehow to register access to the properties of the effect Camera Lens Blur...
Good afternoon...There are 2 layers in the scene. The second layer is the map Z depth or ( app.project.item(1).layer(2).name = "Z depth"Trying to record the settings for the effect Camera Lens Blur....
View Articlehow to loop time in the middle of motion
exmmple of motion would be a a layer coming in from the left doing a circle in the center then going out to the right. lets say i wanted to loop the part in which it circles how would i do that? only...
View Articleprevent duplicate palettes when calling $.evalFile
Hello, Is it possible to have an $.evalFile check if a palette is already open, and if so, switch to it instead of spawning a new one? I'm calling up various utility panels from a central hub ScriptUI...
View Articleadding an expression to the script
Good afternoon Trying to add expression to script. String that causes an error------------------------------------------------------------------------------------------...
View Articlehow do you position buttons in a gui?
i have a dockable gui with buttons. only way i know how to contorl position of buttons is to load them in differnt panels and have th listed top to bottom. is there any more percise way? example...
View ArticleRead/Write File in Extenstion
HiHow Can Create Or Read a File XML or etc whit JavaScript or etc in Extenstion? And How Can Read XML File in Extension ?
View Articleafterfx command line "restores" maximized window - any way to duplicate...
Hi all, I am controlling After Effects CC from another application by invoking JavaScript files from the command line. But the command *always* restores the maximized window of After Effects. That is,...
View ArticlesaveSetting to all AE versions at once
Hello guys, How can I saveSettings to all After Effects versions at once? Right now I am using this command to write:app.settings.saveSetting("ScriptName","Pref_name","someVlaue"); And This command to...
View ArticleDetermining Layer with Freeze Frame
Hi, I have a script where I want to loop through all the layers in a comp and determine which ones have a Time->Freeze Frame set. I've gotten as far as determining that layer.timeRemapEnabled ==...
View ArticleIs it possible to run jsx script without GUI on macOS.
In the windows OS, it is possible to run the external jsx script using afterfx.exe without opening the GUI.But in the macOS, I can't find the way to run the jsx script without GUI. Some articles...
View ArticleScript writing to setup graphic layer's length to be the same as an audio...
Hello everyone, I'm new to scripting and new to this forum, so my apologies if this has been asked somewhere- I tried to search but my inquiry is quite specific and i couldn't find anything (feel free...
View Articleprecompose crashes.
Hello, I am trying to precomp the 1st layer of the comp using ExtendScript. I do something like this: var comp = app.project.activeItem.layers.precompose([1], "new precomp", true); comp.width = newW;...
View ArticleText Path set
Hey its me again so I am creating a text, and applying a mask on it.now i want the text to follow the path,using the path options(and do it automatically).this is the code i have that didn't work:...
View ArticleAfter Effects error: Can not “set value” with this property, because the...
I tried to find solution for this error in the Adobe Forum & Google too, but it didn't help in following situation. I am getting the error mentioned in the Question for different scenarios. 1: When...
View ArticleCopy layer to another composition
Hi all, I am trying to import a specific layer from one AE project to another.I am able to import AE project and find a composition and add it to where I want with:...
View ArticleAutomating the video file in a comp based on the comps name
I am working on a project where I have footage of hundreds of trees (exciting I know), a wide and a close up of each. I need to output a comp containing 30 seconds of the wide followed by 30 seconds of...
View ArticleWhy doesn't app.fonts work in AE?
In this discussion at stack overflow it shows you can find the fonts available to Photoshop by looking at the app.fonts property. But of course that doesn't work in After Effects because Adobe. Is...
View ArticleButtonColor,Picker and save prefs
Hello everone, I'm trying to make a button and change his color when i click on it,using a color picker function i found.its works,when i click,i can choose a color and then my button turn with the new...
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 ArticleI'm looking for a way to animate a json file over time
So i'm looking for a way to animate the source text of a file so that it can reference three fields of a JSON file (name, time, and duration). I want "name" to update the source text at "time" and stay...
View Articlerun powershell commands using system.callSystem()
Has anyone been able to invoke powershell commands using system.callSystem()? Here's what I've triedvar response = system.callSystem("powershell.exe /command \"& { gci }\"");alert(response);if I...
View ArticleI am a student looking for a tutor who could teach me Adobe Script Writing.
I am a student looking for a tutor who could teach me Adobe Script Writing.I am trying to create to re-create Rovio's Internal Rigging Extension for a personal purpose.Hand Drawn Animated Character...
View ArticleAdd Comps with specific name to render queue
Hey, i am new to scripting and i try to make a script which adds comps that start with a specific name to the render queue.For example: I would like to add all the comps that start with the name "ET_"...
View ArticleHow do I find the postscript names for the installed fonts on Windows
I can get a list of the installed font families and available styles on Windows with this powershell$folder="$env:Windir\fonts\"; $objShell=New-Object-ComObject Shell.Application;...
View ArticleAdd line break in textbox
Hi there, i am quite new to scripting and I am looking for a way to add line breaks in the text in textboxes which are then transferred to the text layers in a comp. So I created a UI with several...
View ArticleDetermine if footageItem is a png/jpeg sequence
Is it possible to use scripting to determine if a FootageItem is a png or jpeg sequence? I can make the distinction between a static image and a video by the frameRate attribute of the FootageItem (0...
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 ArticleReveal Path of selected Property
Hi guys! How to know the Path to the selected property? //var sL=app.project.activeItem.selectedLayers[0].selectedProperties[0];alert(sL.name);// As Above expression gives out selectedProperty Name.How...
View Articleos.callSystem - Call a specific function
Hi guys, I know how to call the AE and after to the .jsx script by this command: os.callSystem("C:\Program Files\Adobe\Adobe After Effects CC 2019\Support Files\afterfx.exe" -r...
View ArticleAfter Effects error: having to focus on ourselves??
I am working on an extension for AE that uses Angular. I have a lot of things watching assets, and I suspect that might have something to do with this, but was curious if anyone else has ever...
View ArticleSetting boxText height based on the text value
Hi, I am creating some text boxes and I am trying to find some way in which, having a fixed box width, I can adjust the height of the box according to the text: var textBox =...
View Article