generateRandomNumber seed
Hi Now where the Math.random has broken. I'm using generateRandomNumber.Got this from Ebberts which works: this.getRandom = function(){ return parseFloat(app.version) > 13.6 ?...
View ArticleUnit Testing a la mocha/karma/chai for Extend Script?
We are writing unit tests with mocha, karma, chai, sinon, and bamboo for our angular that we use in our Adobe extension, but the main material that we need to be tests all lives in our Extend Script...
View Articlesine curve in graph editor using beziers
hi geometry geniuses I need to animate the position of a layer such that it oscillates along the x axis following a sine wave.It's fairly trivial to do by creating a key frame on every frame (or using...
View Articleimage export/import script won't work, need guru help
hi guys, i try export image from AE to png file and import this file back to AE with adding to timeline via script, exporting working excellent but importing not work.... script: function test() {var...
View ArticleDisable viewer display while script is running in CC 2015+
I guess the answer is probably NO but is there a way to disable the comp viewer's refresh while a script is running? I'm working on a script that duplicates and moves around a bunch of layers - and in...
View ArticleI need your help to get a specific menu command ID in various AE versions
Hello folks, I need your help! I use the Convert Audio to Keyframes command in my script, but I've stumbled upon a strange and annoying thing. The corresponding command ID is changing unpredictably...
View ArticleTaking advantage of CC 2015+ Asynchronous Render in a Script
Can it be done?I have a script that duplicates and moves around a bunch of layers and it runs about twice as slow on CC 2015+ as on CC 2014. I think it has something to do with the fact that while the...
View ArticleRMS / LUFS average loudness in AE
Hi there -I think this is a scripting question, ie. is this feature missing from AE... I see that "root mean squared" average loudness in the LUFS standard of loudness measurement loosely translates...
View ArticleHow to add multiple OutputModules to render items
Is it possible to add additional OutputModules when creating a new Render Queue item? I'm not finding any command in the Scripting Guide to do this. Thank you.
View ArticleProblem with app.beginUndoGroup
Hello, I'm creating a new script but I have a problem with app.beginUndoGroup.So in this script I've a button, after pressing it, the script creates some layers and the button turn from enabled to...
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 ArticleSame Strings returns false
Hi Both Strings are not same for some reason even it looks same.One string came from Cmd>notepad>extendscript and other one is just a declared variable. Both are not same and returns...
View Articlefix a scrollbar
Hi guys, I created a scrollbar and activate him in my script,but wen i use scrollbar my buttons that down are cat... what can I do to fix this? {var numItemsB=200;var TheButtons=[]; for (var...
View ArticleDropdown missing items
Hi I recently released a new plugin. One of my users are having a bug I can't figure out. Hoping someone here might have some inputs. My plugin have multiple dropdown components. I create them like...
View ArticleGetting a tangent value
I wanted to get tangent value of anywhere on a position shape.(not just on position points) I autoOtiented null, and got nulls rotation over time. but nulls rotation value is always zero when it is...
View ArticleComp marker at timeline cursor?
Hi is it possible to create comp at the current comp and the marker on it to be on the current position of the timeline cursor?
View ArticleBoxText with various styles
Hello, I'd like to create a boxText and apply different styles (font, fill color, etc...) to a selection of characters in the boxText using the script only. It's possible to do this through the UI (by...
View Articlecannot set property value of new text layer (setValueAtTime) - property is...
in a new project i make a new text layer.i add an opacity animator and i click "End" Propery under Range selector; i try to set a value to that...
View ArticleCSInterface keydown addEventListener
Hello,In Adobe Html 5 Cep panels, keyboard events are not detected. According to CSInterface https://github.com/Adobe-CEP/CEP-Resources/wiki/CEP-6-HTML-Extension-Cookbook-for-CC-2015,...
View ArticleUse AE project to tie into program where people can upload pictures
Hello, So I am able to code and I am pretty good with Adobe suites. I was wondering if someone can help me get started in something. I was looking to create a cheap app where people can upload a few...
View Article