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

How to detect the OS with ExtendScript?

I'd like to detect the Operating System that After Effects in running on with ExtendScript.  Maybe there is an object method that returns a string with an identifier?  Is this possible, and if so, how...

View Article


read XML file on network drive via script

Hi guys, I am trying to write a script which starts by reading an XML file, no problem at all in a quick and dirty test:  var XMLfile = new File("D:\Shot01.xml"); XMLfile.open('r'); var str = "";...

View Article


Image may be NSFW.
Clik here to view.

how to get text value from POPUP?

hello, i have this script ...var test = effect.property("Test")var test_value = rgb.valueAtTime( 0.0, false ) test_value - is enumerate of POPUP how to get text?

View Article

Image may be NSFW.
Clik here to view.

Unable to call constructor, because parameter 2. Value 0,01 out of range 0,1...

I am getting this error when I create a KeyframeEase object kfEaseObj.speed = 0;kfEaseObj.influence = 0,01;var ease = new KeyframeEase(Number(kfEaseObj.speed),Number(kfEaseObj.influence));  It's...

View Article

Image may be NSFW.
Clik here to view.

HELP! "null is not an object" error!

I'm not a scripter, but I use scripts from aescripts.com Recently, after migrating to a new machine, many of my scripts aren't working, they throw an error "Unable to execute script at line 94. null is...

View Article


Image may be NSFW.
Clik here to view.

CEP hello world returns "EvalScript error"

Hello all This is my first CEP panel and I'm struggling with the EvalScript call. Here are my index.html, manifest.xml, .debug contents CEP AE Hello World issue — Bitbucket The panel is visible in...

View Article

Does CC2015+ support Json?

I have tested  cc2015 and cc2017 of AE,the code:var a = {"d":5};var b = JSON.stringify(a);var c = JSON.parse(b);alert(c.d); both them can alert 5! Which JS specification supports ExtendScript engine?...

View Article

Image may be NSFW.
Clik here to view.

Get the duration of animation if set solely with expressions

How can you determine when the animation ends, starts (duration) if it is set with expressions? To make things worse, the expression is precompiled(not sure if that is the word). By that I mean it uses...

View Article


Console : Printing objects with more details

Hi everyone, I started scripting for after effects 3 days ago and I came across tons of disappointments. I think the $.write() and $.writeln methods don't do enough. (I'm used to console.log in web...

View Article


Image may be NSFW.
Clik here to view.

unable to execute script at line 59. datapath is undefined

Hello, I am trying to send a ready2go Juicer templete to AF CS6. Once AF comes up I am getting the error listed above. Any suggestions will be greatly appreciated. Thanks,

View Article

Image may be NSFW.
Clik here to view.

Reading float values from binary file

Hi all,I have a binary file containing data recorded using a c program.the data stored in files are float values.Now I need  to retrieve the float numbers from binary file in after effects script. This...

View Article

Image may be NSFW.
Clik here to view.

Centering the anchor point

Is there an easy way to set the anchor point of a layer right in its center using script? Currently, my script adds text layers to the active composition and styles the text. The things is I need the...

View Article

How to Get the Active Comp

Does anyone know of a way to consistently access the active Comp? I'm currently using app.project.activeItem, however that only works if the last thing you selected was the comp or timeline. If you...

View Article


Image may be NSFW.
Clik here to view.

Adding a Camera and Orbit Null with Extendscript

Hey Guys, Total Noob to all this scripting stuff, but I'm loving it so far!  I've got a problem where, I'm using the following to try and add a camera to my comp: var myComp = app.project.activeItem;...

View Article

Image may be NSFW.
Clik here to view.

starting AE + script via .bat file: AE immediately exits

Hi guys, I would like to create a .bat file to launch AE and have AE run a .jsx script which has just been automatically created. After reading through the documentation I created the following bat...

View Article


Image may be NSFW.
Clik here to view.

SetValue of a Text Animator Scale via ExtendScript?

Hello, I'm fresh new in ExtendScript... and I'm trying to solve one question for days...Can anybody help me to set value of "Scale" inside a > Text layer > Text > Animator 1 > Scale?? I'm...

View Article

.onActivate callback for Panel Object

Hello there.I'm working on a UI that uses lots of eventListeners. I'd like to add and remove them depending on the state of the window.To do this, I'm using callbacks:.onActivate.onDeactivateThe script...

View Article


How to set value from a slidercontrol in a UI?

Hello,Could someone help me to control a property with a slider in a UI?I'm using a UI dockable template from "David Torno", and using rd. Gimme Prop Path, as Tomas Sinukas teach me earlier...but I can...

View Article

Image may be NSFW.
Clik here to view.

Where can I hire someone to develop a custom GUI Script?

Hello, I'm a Brazilian VFX artist and creating scripts is driving me crazy.That's a lot of information for me right now.I'm looking for someone who can create a script with my needs.I've been reading...

View Article

Image may be NSFW.
Clik here to view.

how to set value at time of rotation in extend script

i know how to set value at time of scale, opacity and position, but for some reason rotation doesnt work for me.  i write scale for example as var x1s = app.project.item(3).layer(1).property("ADBE...

View Article
Browsing all 2143 articles
Browse latest View live


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