Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Browsing all 2143 articles
Browse latest View live

Loading “external library” get “I/O error” in mac

I just discovered the "external library" in extendscript. So I opened up the "samplelib" example in Xcode 5, update the base sdk to 10.9 and buit it(the project file is very old, it's for xcode 2.4 and...

View Article


Is it possible to loop through items/layers and change the color overlay?

Is it possible to loop through items/layers and change the color overlay? I can get select layers but am unsure how to loop through and change the color overlay. I am using...

View Article


Looping through layers and selecting layer by name?

I am trying to find a layer by name and loop through the selections. function projectItem(name){          var items = app.project.items;          i = 1;          while (i <= items.length) {...

View Article

Choose new active layer?

How do you choose a new active item? item(1).select?  or is there a different script?

View Article

Possible to script the curves effect?

Hello, I'm wondering if it's possible to script the curves effect.  I get a 'property not implemented' error when I attempt to do so.  I'm guessing this is because this effect has no scripting...

View Article


ExtendScript Toolkit - Object Model Viewer

Hi all, I know there's not really a way around this but I'm curious if anyone knows why the Object Model Viewer in ExtendScript Toolkit doesn't have After Effects Object Model in the Browser dropdown?...

View Article

checking perf of a function or anything else

Is there a way to check how long a function takes to execute? maybe some type of timer? or maybe getting the system time before and after the function and subtracting the two values? Overall I am just...

View Article

How can I duplicate a FootageItem object via scripting?

Hi There, I am trying to understand why I cannot duplicate a FootageItem object in the same manner as a CompItem object.  For example, if I am iterating through a composition and encounter a layer that...

View Article


Multiline text alignment in UI

Hi guys. Newby here. Sorry if this is silly questtion, but I am getting bold solving this with no prevail. I have a multiline text. But it's aligned to the left. Any way to center align it?...

View Article


Issue with icon button title layout

Hi, I am new to After Effects scripting and am struggling with this issue for quite some time. I need to display iconbuttons in a window where the the title of the button should appear below the icon....

View Article

afterfx 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 Article

Image may be NSFW.
Clik here to view.

remove ListBox item's icon?

I'm trying to remove the listbox item's icon or image, but nothing seems to work?! What am I doing wrong?     var w = new Window ("window");    lb = w.add ("listbox", [0,0,100,150], ["item1", "item2",...

View Article

Saving plain text on a mac (Keyboard shortcuts file)

Hi there perhaps some mac users can help me... I am manually editing the keyboard shortcuts file in TEXT edit on a mac (Im a pc user). I open the file as plain text  all the rich text stuff turned...

View Article


AE CC - onClose()

Hi, I'm trying to save the user's settings when they close the script window, but can't for the life of me figure it out. This executes wonderfully in Extendscript CS6, but when I run it in AECC I...

View Article

Image may be NSFW.
Clik here to view.

Strange noise problem with music layer after replacing the music file using...

Hey guys, I got a strange problem. Sometime when I import a music file, or replace a music footage with another music file using the "replace()" or "importFile()" method, the music layer added one...

View Article


Image may be NSFW.
Clik here to view.

Strange noise problem with music layer after replacing the music file using...

Hey guys, I got a strange problem. Sometime when I import a music file, or replace a music footage with another music file using the "replace()" or "importFile()" method, the music layer added one...

View Article

Can I batch render a composition with different resources?

Hi All, I've got a composition that I want to render and send out to a large number of people (around 1000) as a video file. One element of this composition includes an image depicting the viewer. I...

View Article


Use GUI checkbox for scripting

Hi There How can I use the GUI checkbox option in my script to turn Motion Blur ON or leave it OFF?  For example I´ve generated this checkbox in my GUI Panel: var checkMB = groupTwo.add("checkbox",...

View Article

Convert GUI "edittext" to a Number

Hi There I´ve build a GUI with an edittext box where I want to put in numbers, to use them later for calculating, generating layers and so on.But I always come along with NaN (Not a Number). Script...

View Article

Command line render "-reuse" flag with multiple copies of afterFx.exe

The question is, can i use "-reuse" flag to start rendering with more than one copy of afterFx.exe ?  //OS Windows 7If i start aerender.exe -project c:\projects\project_1.aepI have to wait about 15...

View Article
Browsing all 2143 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>