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 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 Articleread 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 Articleis 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 ArticleBreaking 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 ArticleUI 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 ArticleLooking 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 ArticleGet 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 Articleinsert 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 ArticleAdd 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 ArticleAdding 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 ArticleWhat 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 ArticleCopy 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 Articlesystem.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 Articlesystem.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 Articleedit 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 ArticleSetValue 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 ArticleHow 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 ArticleI 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 ArticleExecuting 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