Search found 19 matches

I am trying to call a function that is defined inside another function. So say I have this: function myFunc() { function test() { alert("test'); } } Is there any way to call test() without explicitly calling it inside of myFunc()? For instance, I'd like to be able to call it like this: myFunc()...

I'm having a problem writing a line to a file when the text is a non-english character. For instance, I run the following var presetFile = File.saveDialog("Select a file..."); presetFile.open("w","TEXT","????"); var english = "A"; var chinese = &quot...

Thanks for the comments. I'm talking in the range of 500-1000 keyframes, which have been gotten from motion tracking. Unfortunately, I have no way of knowing where the end user is going to be putting the keyframes, so they may well be overlapping previous keyframes. Although, you did give me a good ...

I'm trying to add keys on layers that already have a large amount of keys, and I'm having some trouble getting the processing time down to an acceptable length. Here's what I've found so far. Adding keys with setValueAtKey or setValueAtTime takes massively longer than putting all the times and value...

Hey everyone, I'm looking for ways to optimize the speed of evaluating expression. I am fine with losing readability as long as things evaluate quicker. From some experimenting, it looks like var1 = effect("Slider Control")("Slider"); var2 = effect("Slider Control 2")(&...

I have a comp in my render queue. I need to duplicate this comp, and put it in the render queue with the same render settings and ouput module as the original comp. So I take my original comp, save a template of the render settings and output module, and then apply this new template to the new comp....

I was wondering if anyone had tried using this script, and met with success or failure. I need to get this ready for other people at my job to use it, and was hoping for some feedback if instructions were somewhat easy to understand, or problems I didn't document, etc.

I needed the same sort of script, so I took yours, and expanded on it. I got the ability to search all properties implemented. The script basically recursively searches through all properties looking for ones which have expressions enabled. I also added the ability to specify your search and replace...

This is a script to assist in setting up files to be rendered over a network on a renderfarm. Unzip the attached file, and you should find: Render_to_Renderfarm.jsx Renderfarm_Settings.ars Renderfarm_Output_Module.aom touchFiles.sh com.graphics.AFXRenderfarmWatch.plist Here are the basics to using t...

Correct me if I'm wrong, but I believe this can also be done, for the first 20 scripts or so, by setting the hotkey in the Shortcut preference file. This can be found in Computer / Users / User Name / Library / Preferences / Adobe / After Effects / 8.0 / Adobe After Effects 8.0 Shortcuts Search in t...

This is a script that is the equivalent of the repeater animation effect that is found for shape layers. This seems like something that may exist already, but I have not been able to find it. To use this, select the layer that you want to repeat, and run the script. It will ask you how many duplicat...

I need to be able to select a few hundred comps, and save out a single frame from each one. However, I also may need to change the "Output To:" name, depending on the factors in the comp, (ex. just a color channel, just an alpha, embedded alpha, etc.). So it would be very helpful if I coul...

I'm trying to automate the "Save Frame As...File" function through a script. I've gotten it to work by sending an item to the render queue, changing the duration of the render to be 1 frame, and using a jpg template for the output module. The problem comes in when naming what the render wi...