scheduleTask() doesn't work !
Hi guys, I was tring to write a function that can repeatly run itself once per second,and I used app.scheduleTask().like this, function newFunction () { ...... .........
View ArticleHow can I copy file and folder?
for example: copy a folder and the whole contents from one path to another
View ArticleHow to detect when a project file is closes, or opens?
Hi There, Is there an event that AE broadcasts that allows a callback to be executed when a user closes or opens a project file from the main File menu. There are some variables in my script that I...
View ArticleMerge 2 or several scripts panel into one single panel
Hi I currently have several scripts dock (With buttons and ui) in my after effects workspace. Currently, it's kind a mess when i maximize my layer panel and I would like to merge them into one single...
View ArticleScripting AE object model
Hi there came across this nice resource.... http://aejsx.hiroshisaito.net/Any web gurus out there willing to Google Translate entire site or host a translated version. . . ?
View Articleapp.settings.setSetting is undefined
Hy guys, I'm trying to use app.settings.setSetting() in order to save a string as this: app.settings.setSetting("test", "keytest", "keyvalue"); I get this error:Function app.settings.setSetting is...
View ArticleScriptUI Panel Resource String Question
I'm creating a little tool to use to keep my projects organized, and want to create a dropdown that will eventually list off render templates I have created. Right now, for testing purposes (since I'm...
View ArticleSave in Parent source folder
Hello I am pretty new to After Effects scripting ,and i am trying to make a script to import files and then save project in parent's sources files folder .But i think my last line ,the save path ,is...
View ArticleCheck if layer is visible
Hey,is there a way to check if a layer is visible at given time? I know about two methods:.audioActiveAtTime() and .activeAtTime(time), which could be helpful, but rather than checking if layer is...
View ArticleScripting Tools
Hello everyone ! I have created a .jsxinc file that includes some Javascript Methods and Customs Methods for AE that I think is missing from the Extendscript environment ( such as JSON, Array.indexOf,...
View ArticleAEFP Plugin PNGIO Support Error -- Unable to decode PNG (5027 :: 12)
Has anyone encountered this error when importing pngs? I am aware that it can happen when a png file is corrupt, but what I am interested in doing is capturing the error if it occurs to prompt the user...
View ArticleIs there a way to check if you have an Output Module template setting, if you...
Is there a way to check if you have an Output Module template setting, if you do then add it to the render, if not leave as the default Output Module?
View ArticleBest way to run a script from a script
Hi everyone, I am looking for executing a script from a After Effects script, up to now, there is aftereffects.executeScript(scriptContent) which use eval to run the script. The problem is that it uses...
View ArticleDynamically add and remove ScriptUI elements
Hello. I'm looking for a way to add and remove elements like groups on click.The idea is to generate them instead of toggling .visible option on and off. Though after searching through manuals I'm...
View ArticleonResizing
hi, What should I do in order to make the script responds like the script that attaches to the gif?{var myWin = buildUI(this);if (myWin != null && myWin instanceof Window) { myWin.show(); }...
View ArticleonResizing
hi, What should I do in order to make the script responds like the script that attaches to the gif?{var myWin = buildUI(this);if (myWin != null && myWin instanceof Window) { myWin.show(); }...
View ArticleDoes ListBox or TreeView can store dynamic location of objects/Items??
//Example//The below code just lists selected Layers and clicking on an item triggers name of item.//The below code triggers layer/Item name undefined as it didnt store the dynamic location of the...
View ArticleSave and reuse an array of dynamic objects(for example Layers) in a local...
//Example Code//This will be project specific code. var myProjectFolder=app.project.rootFolder;var myLayers=app.project.activeItem.selectedLayers;var StoreAry=[];var myLocalLoc=myProjectFolder; for(i...
View ArticleZoom in / zoom out in the timeline
Hello.Is there a way to zoom in / zoom out in the timeline by scripting ?
View ArticleIs there a way to save animation preset by script?
Hello, I have written a script named Memory,which save any layers even comp layer for later generating.https://github.com/Smallpath/Memory A few days ago,I completed the preview feature,and was...
View Article