Search found 20 matches

by ajk48n
March 27th, 2018, 6:11 am
Forum: Scripts Discussion
Topic: Position of layer in Illustrator file
Replies: 0
Views: 519

Position of layer in Illustrator file

Is it possible to find the position of a footage layer as it exists in an Illustrator source file For instance, when importing an Illustrator file as a composition with the Layer Size option, all the imported layers get placed correctly to match the Illustrator file. Is there any way to find out wha...
by ajk48n
February 2nd, 2018, 8:47 pm
Forum: Scripts Discussion
Topic: Calling a function defined inside another function
Replies: 0
Views: 727

Calling a function defined inside another function

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().test...
by ajk48n
March 4th, 2014, 8:36 am
Forum: Scripts Discussion
Topic: writeln using non-English characters
Replies: 1
Views: 2315

writeln using non-English characters

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 = "喜"; writeTestEnglish = presetFile.writeln(english); ...
by ajk48n
December 16th, 2013, 4:50 pm
Forum: Scripts Discussion
Topic: addKey and setValuesAtTimes calculation time
Replies: 2
Views: 2463

Re: addKey and setValuesAtTimes calculation time

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 ...
by ajk48n
December 15th, 2013, 10:55 pm
Forum: Scripts Discussion
Topic: addKey and setValuesAtTimes calculation time
Replies: 2
Views: 2463

addKey and setValuesAtTimes calculation time

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...
by ajk48n
November 28th, 2013, 4:44 am
Forum: Scripts Discussion
Topic: Custom Effect Button
Replies: 0
Views: 3835

Custom Effect Button

Hi all,

Is there a way to create a custom effect button? Or is that only available if making a plugin, and not a script?

My end goal is to add some effects to a layer, and then have a button that will update things based on changed parameters.

Thanks for any help.
by ajk48n
June 6th, 2013, 6:50 am
Forum: Expression Discussion
Topic: Optimizing Expressions
Replies: 1
Views: 4299

Optimizing Expressions

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")("Slider"); [var1, var2] evaluat...
by ajk48n
June 2nd, 2011, 10:31 am
Forum: Scripts Discussion
Topic: Placeholder for a not yet created file?
Replies: 3
Views: 2597

Re: Placeholder for a not yet created file?

You can change the [#####] with this: var framePath = path.replace(/%5B.*%5D/g, pad(first_frame, 5)); function pad(numNumber, numLength){ var strString = '' + numNumber; while(strString.length<numLength){ strString = '0' + strString; } return strString; } it will change the "[#####]" into whatever f...
by ajk48n
May 5th, 2011, 10:25 am
Forum: Scripts Discussion
Topic: delete render template
Replies: 0
Views: 2371

delete render template

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....
by ajk48n
June 10th, 2009, 9:43 am
Forum: General Scripts Library
Topic: Renderfarm Script
Replies: 2
Views: 7218

Re: Renderfarm Script

Hi,

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.

thanks for any help
by ajk48n
March 31st, 2009, 9:58 am
Forum: Scripts Discussion
Topic: Replace words in expressions - script doesn't work
Replies: 6
Views: 7588

Re: Replace words in expressions - script doesn't work

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...
by ajk48n
March 16th, 2009, 9:05 am
Forum: General Scripts Library
Topic: Renderfarm Script
Replies: 2
Views: 7218

Renderfarm Script

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...
by ajk48n
June 9th, 2008, 10:14 am
Forum: Scripts Discussion
Topic: Assign hotkeys to scripts in MAC OS X - I found a way
Replies: 3
Views: 4442

Re: Assign hotkeys to scripts in MAC OS X - I found a way

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...
by ajk48n
May 12th, 2008, 3:45 pm
Forum: General Scripts Library
Topic: Layer Repeater Script
Replies: 0
Views: 8873

Layer Repeater Script

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...
by ajk48n
February 25th, 2008, 3:42 pm
Forum: Scripts Discussion
Topic: save frame as... through a script
Replies: 6
Views: 5965

Re: save frame as... through a script

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 could change t...