Search found 33 matches

by berniebernie
October 7th, 2010, 11:44 am
Forum: Scripts Discussion
Topic: Scripting Listener for After Effects
Replies: 0
Views: 6179

Scripting Listener for After Effects

Hello guys and girls (?) Having scripted with photoshop before I'm wondering if there's some scripting listener plugin for After Effects. It'd be an awesome tool for script development. I'm not sure how many people script on AE and if it'd be a feature request that Adobe could listen to. Ideas, thou...
by berniebernie
August 20th, 2010, 7:31 am
Forum: Script requests
Topic: Inverse precomp (explode comp to its subcomps/layers)
Replies: 2
Views: 10846

Inverse precomp (explode comp to its subcomps/layers)

Hello fellow coders I'm sure this has been written before, but I can't find it. Does anyone know a script that will do an 'inversed' precomp, if you choose a comp, it will take the elements and bring them into their parent comp ? copying pasting layers works in terms of elements but loses whatever s...
by berniebernie
April 6th, 2010, 1:51 pm
Forum: Scripts Discussion
Topic: End of file when using readln ? (javascript eof)
Replies: 2
Views: 9995

End of file when using readln ? (javascript eof)

Hello all I'm using readln to parse a text file line by line (I'd rather not use 'read' if ever I parse a large file), however I have no idea how to catch the end of the file: var myFile = File.openDialog ("Select file","*.txt"); var fileOK = myFile.open("r","TEXT&...
by berniebernie
October 29th, 2009, 7:31 am
Forum: General Scripts Library
Topic: Immigration - A smarter way to import and replace files
Replies: 1
Views: 9320

Re: Immigration - A smarter way to import and replace files

you should maybe point out that it's a time trial script
by berniebernie
January 14th, 2009, 4:13 am
Forum: Expression Discussion
Topic: Setting fonts dynamically ?
Replies: 1
Views: 7405

Setting fonts dynamically ?

Hello people

Is it possible via an expression to change the font of a text layer ? It's not documented and is not in the scripting help either...


I've done it in photoshop (for example have a new layer for each font on your system) but can't seem to figure it out in After Effects.

Thanks

mlk
by berniebernie
November 18th, 2008, 9:05 pm
Forum: Scripts Discussion
Topic: fetching live input data -> viewport update
Replies: 1
Views: 5719

fetching live input data -> viewport update

Would this be remotely possible without the use of a plug-in ?

Can javascript 'catch' a stream of data in the background (or even read from a file periodically) and update the viewport without a manual user update ?

thanks

mlk
by berniebernie
October 5th, 2008, 10:22 am
Forum: Scripts Discussion
Topic: Import Photoshop Layers
Replies: 3
Views: 10090

Re: Import Photoshop Layers

Check ImportOptions in the scripting docs, there's no reason why you shouldn't be able to import PSDs like you do do manually
by berniebernie
September 26th, 2008, 4:55 pm
Forum: Scripts Discussion
Topic: delayed / timed / threaded script ?
Replies: 2
Views: 8896

delayed / timed / threaded script ?

hello guys I've written a quick maya mel file that outputs the coordinates of the camera every 1 second or so to a text file, and I'm trying to fetch the data of the text file in AE. I can read it in no problem, but my question is, can I do it with a kind of 'threading'. Can I have a script that che...
by berniebernie
August 13th, 2008, 4:49 am
Forum: Script requests
Topic: Avoiding intersection of 3d layers
Replies: 1
Views: 7767

Re: Avoiding intersection of 3d layers

Could you be a little more specific ?


You want layers that are behind other layers (that have an alpha) not to show up ?

You could remove the alpha of the 'other layers' or bake an alpha. Show us what you want, I'm a tad confused.
by berniebernie
August 13th, 2008, 3:57 am
Forum: Script requests
Topic: Random Z position
Replies: 4
Views: 12797

Re: Random Z position

this might work or it might not (I just commented a few lines out + added other things) I don't have AE at work. // // //3D Layer Distributor by Lloyd Alvarez (July 2006) http://aescripts.com // fixed random function - feb2008 // // //Distributes layers in 3D space within set ranges.. // // // // va...
by berniebernie
August 6th, 2008, 4:46 pm
Forum: Script requests
Topic: Identifying layers with expressions
Replies: 7
Views: 16172

Re: Identifying layers with expressions

Here ya go var token = 0; function selectExpressions(){ AI = app.project.activeItem; for (a=1;a<AI.layers.length+1; a++){ AI.layers[a].selected=false; curLayer = AI.layers[a]; if(curLayer.position.expression.length > 0 || curLayer.opacity.expression.length > 0 || curLayer.rotation.expression.length ...
by berniebernie
August 6th, 2008, 6:08 am
Forum: Script requests
Topic: Identifying layers with expressions
Replies: 7
Views: 16172

Re: Identifying layers with expressions

Ah ok, I thought you wanted to use expressions to do the deed...


Actually it should be fairly straightforward, as you can query the 'expression' string of a layer
app.project.item(index).layer(index).expression
I'll give it a tug later, I do not have after effects at work (shake and nuke)
by berniebernie
August 5th, 2008, 3:44 am
Forum: Script requests
Topic: Identifying layers with expressions
Replies: 7
Views: 16172

Re: Identifying layers with expressions

you mean sort between lights, cameras, footage and comps ?

it's fairly easy to do with scripting. If you still need it I'll give it a shot.

matt
by berniebernie
April 11th, 2008, 8:22 am
Forum: General Scripts Library
Topic: layer Position to .txt (extract coordinates)
Replies: 8
Views: 31484

Re: layer Position to .txt (extract coordinates)

By extremely popular request (errr I mean the one mail I got) I'll try to add a much friendlier user interface, I need to code a bit to relax.

matt