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

Image may be NSFW.
Clik here to view.

Split text on blank lines on Windows and Mac

Hi,When I want to split the text by line, I'm using:myText.split(/\n|\r/); I'm using Windows and to split the text by empty line I'm using:myText.split('\n\n'); and it's works fine on Windows.Can...

View Article


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


Image may be NSFW.
Clik here to view.

read ALL keyframes from a layer

is there a to find ALL keyframes from a layer, without having to specify a property?for instance, Layer 1 might have keys on Position while Layer 2 might have keys on Rotation - ideally i'd like to be...

View Article

is there a way to simulate a "enter" key press

assume there is a EditTexttype some wordsthen hit "enter", the cursor will go to the new line after that , I want let it make another "enter" go to another newlineis it possibel ?

View Article

Image may be NSFW.
Clik here to view.

Breaking text up into layers from source.txt - mostly working but need a...

Hello, Here's the situation - I've been brought into the middle of project that involves creating Comps which contain 1 or more type layers horizontally aligned into a single line of type which scrolls...

View Article


Image may be NSFW.
Clik here to view.

UI GUI not updating on window.update();

I have progress indicator - counter.var counter = new Window("palette"); counter.prompt = counter.add("statictext",[0,0,180,20]); counter.prompt.text = "Script is running";  In my script i have cycle...

View Article

Image may be NSFW.
Clik here to view.

Looking To Pay For a Custom Script

I am looking for someone to help me write a simple batch-render script. I will pay. Please start a discussion with me and I will be waiting for anyone's reply. First come, first serve. Thanks.

View Article

Image may be NSFW.
Clik here to view.

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


insert precomp in comp with same name

At work we have a workflow that is as following: - we prerender a comp- place that prerender back in that comp- solo it. We prefer this above replacing the comp with the prerender, since it's much...

View Article


Image may be NSFW.
Clik here to view.

Add entry to CEP Panel menu

Hi everybody, I can't find any documentation on how to add an entry to a CEP Panel menu.With panel menu this is what I'm referring to:  Along with Close Panel, Undock Panel and so on, I need a couple...

View Article

Image may be NSFW.
Clik here to view.

Adding FONT for a new TEXT LAYER :)

Hi guys, I'm adding a text layer and i'm trying to change a FONT but it's doesnt work.How can I make it works? this is my code: {var proj=app.project.activeItem; var myTextLayer=proj.layers.addText();...

View Article

Image may be NSFW.
Clik here to view.

What does app.purge() function actually do?

I wanted to purge memory and disk via script. I used this code:   app.purge(PurgeTarget.ALL_CACHES);  app.purge(PurgeTarget.UNDO_CACHES);  app.purge(PurgeTarget.SNAPSHOT_CACHES);...

View Article

Image may be NSFW.
Clik here to view.

Copy to Clipboard

I have a script that generates a text file.I can save it just fine, but I need to be able to also copy it to the system clipboard.It needs to work on whatever platform a user happens to be on: Windows,...

View Article


Image may be NSFW.
Clik here to view.

system.callSystem() on Mac and ffmpeg

Hi,I've been working a few hours on this with no luck, maybe anyone here can help:I have an issue on Mac with a script where I want to transcode some files using ffmpeg. Here's what's going on: var cmd...

View Article

Image may be NSFW.
Clik here to view.

system.callSystem on macOS with UTF-8 characters produces unexpected results

Hi There, I'm running into an issue on macOS when passing strings with UTF-8 characters into the system.callSystem() method.  I'm using AE 15.1.1 and macOS 10.13.5.  On Windows, this test code works...

View Article


Image may be NSFW.
Clik here to view.

edit text with multi-line ,cursor jump to the beginning each type.

 tested on both Win and MacMac works fine. But Win doesn't.any pieces of advice?

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


Image may be NSFW.
Clik here to view.

How can i script the "start timecode" part of "interpret footage"?

I have to edit a lot of source files and i need them all to start at timecode zero. I searched through the scripting guide, but i couldn't find anything (i suppose this would be part of the...

View Article

Image may be NSFW.
Clik here to view.

I want to make a Template.

HelloI would like to know how to make a template.And one of the questions I have, is how I do so that a composition that I have animated with an image inside, this can be replace in premier keeping the...

View Article

Image may be NSFW.
Clik here to view.

Executing an ExtendScript file from Mac OS Terminal

There are a lot of flavors of answer to this out there, none of which seem to work for me. Let me say right off the bat that my terminal (I'm running Yosemite) recognizes neither '-cmd' nor '-run' nor...

View Article
Browsing all 2143 articles
Browse latest View live


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