Comparing two Arrays and generating a new Array.?????????
Hi guyscan some one solve this problem. plz... Say i have two arrays, one is String Array and other is selectedLayers array with same source names(a,b,c) selected in after effects.Now i want to...
View ArticleJava onShortcut command not working
Can someone help me with onShortcut thing?I have OnClick function for the below, but onShortcut alt+R not working, any help would be appreciated....
View ArticleHow to change size and color of "staticText"??
Can someone plz share how to change size and color of "staticText" object?? function buildUI(thisObj) { var myPanel = (thisObj instanceof Panel) ? thisObj:new Window('palette', 'Stress...
View ArticleTabbed Panel Issues with CS5,CC2014,CC2015?
I have created a script with TabbedPanel in ESTK CC,works fine in afx CC 2014, but it seems like there are some issues with other versions(CS5 and CC2015).Can someone help how to universalize the tabs...
View ArticleonChange Tabbed Panel, got an error in my Window Panel.
I have a problem with my window panel, when i close the panel in after effects i got this error NULL IS NOT AN OBJECT in this line: switch(selectedTab.selection.text) how can i resolve that? The thing...
View ArticleI want to write a script that alerts me the RGBA values on mouse click
I'm essentially wanting to be able to capture the RGBA values under the mouse cursor when a user clicks an object on the canvas (I will be storing these for later use) . Just as you see these values in...
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 ArticleCall jsx from the same folder in script without extended path
Hi, i actually got this code: var tabPlecaName = "PlecaTest.jsx";var tabPlecaPath = $.evalFile + File($.fileName).path + "/" + escape(tabPlecaName); But the thing is that i cant call my File from the...
View ArticleHow to put a scroll inside my tabs content?
Here is my code: { function myScript(thisObj){ function myScript_buildUI(thisObj){ var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette","Panel Estudio...
View ArticlewriteXml in PresetEffects.xml of After Effects
Hi, i want to make a script to add lines in the PresetEffects.xml file inside After Effects/Content/Resources detecting if is Windows use C:/Programs/etc.... or if is MacOs Applications/etc... and...
View ArticleeditText.active doesn't work
Hi I have a editText and I would like to check if it is in focus. I do it like this: if(textfield.active){ //Do something} This doesn't work. It always returns false. Is there any other way to...
View ArticleTop/Left Value of Point Text Relative to Composition?
So since the width and height of a point text layer is --always the size of the composition--calculateTransformFromPoints can only set and not read a set of values-- a point text layer's...
View ArticleAfter Effects Error
After trying to use bridge with After Effects I keep getting this error messageapp.project.activeltem.selectedlayers[aLayer].applyPreset is undefinedWhat does this mean?
View ArticleHow to $.eval.File("File Path From Internet.jsx") path from Internet?
I want to call my JSX file path from internet, i actually uploaded my JSX to Dropbox so i want to evalFile from there. Thank you in advance.
View ArticleaddEventListener for check box
Hi I have a check box. I would like to set up an eventListener for it. This works: cb.onClick = function(){ alert("clicked");} This don't: cb.addEventListener("click", cbClick);function cbClick(){...
View Articleresize an image to the icon button size
hi,how can i resize an image to the icon button size? var w = new Window ("dialog");b=w.add ("iconbutton", undefined, "~/Desktop/abc.png");b.size=[50,50]w.show();
View Articlemultiple onClick
hi, What should I do in order to make all onClick buttens to do index button alert? var myWin = buildUI(this);if (myWin != null && myWin instanceof Window) { myWin.show(); } function...
View Article$.evalFile(.jsx from FTP)
Hi, thank you in advance, i want to call a File from FTP server so i have to do $.evalFile(And here is the FTP Path from server). How can i do that???
View Article[Tutorial] After Effects ExtendScript Script Writing
Hi all, just wanted to share a new tutorial series I have launched today that I think a lot of you may find helpful. We've all posted here in this forum looking for help with scripting. There are many...
View ArticleLooking for a creative way to find XY mouse position via expression or scripting
I'm looking for a way to get the mouse position on the comp as it already reads from the info panel and use it for an expression or script. Any ideas?
View Article