Search found 19 matches

by Ed Smith
November 22nd, 2012, 3:25 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 12734

Re: Linking Mask Paths with script

ugh. Thanks for that Klustre, no coffee yet this morning.
by Ed Smith
November 22nd, 2012, 2:47 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 12734

Re: Linking Mask Paths with script

Can't figure out how to rename the masks after they're created. I'd rather not have have them called "Mask 1" and "Mask 2" if possible. Can't seem to find anything in the scripting guide about accessing that attribute. Tried looking at TrackerViz and a few other scripts to see ho...
by Ed Smith
November 22nd, 2012, 2:10 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 12734

Re: Linking Mask Paths with script

Super duper. I just took out the read only line and it works. Surely it IS true though and wouldn't make that much difference? I guess mask paths can only have certain expressions attached so maybe it's only half true.

Thanks for the help.
by Ed Smith
November 21st, 2012, 7:54 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 12734

Linking Mask Paths with script

I'm trying to link 2 mask paths together inside my script. Here's a snippet of what I've got so far: newMask = LayerGrad.Masks.addProperty("Mask"); newMask.maskMode = MaskMode.NONE; newMask.maskPath.canSetExpression = true; newMask.maskPath.expression = "comp(\"" + mainComp....
by Ed Smith
October 3rd, 2012, 2:56 am
Forum: Expression Discussion
Topic: Complementary Colours
Replies: 2
Views: 10826

Re: Complementary Colours

After a few more discussions, and a few quick searches it was easier to convert to HSL and then invert the values that way to get the complementary colour. Used Filip Vanduerens solution from this this creative cow topic . c = thisComp.layer("master").effect("Fill")("Color&q...
by Ed Smith
October 2nd, 2012, 2:27 am
Forum: Expression Discussion
Topic: Complementary Colours
Replies: 2
Views: 10826

Complementary Colours

Looking for an expression to automatically generate complementary colours. So far I have this (below) but it's not working for me, and I can't figure out why. Col = thisComp.layer("LIGHT CONTROLLERS").effect("Color 001")("Color") ; BitD = 32768; R = Math.round(Col[0]*Bi...
by Ed Smith
September 10th, 2010, 3:31 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

I realise that Lloyds BG Renderer is probably a better/different way to do this, but since it's a by product of a bigger script I'm writing (and since I'm very rarely in a position to actually contribute anything to this forum) here's my script to add scenes to an aerender file that you specify. It'...
by Ed Smith
September 7th, 2010, 2:35 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

Thanks Paul that's just what I was looking for. I've been doing little tests like you've suggested on other parts of the script (like opening projects and swithcing off selected layers, adding to render queue, things like that) but I was just having trouble with using the folder object returned with...
by Ed Smith
September 7th, 2010, 1:29 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

After I've defined Folder.selecDialog, how do I use that object?

For example, I want to create the new RenderQ.cmd file in the location I've picked:

Code: Select all

var Qlocation = Folder.selectDialog ("Select Render Q Location");

var document = new File([QLocation] HDRenderQueue.cmd);
by Ed Smith
September 7th, 2010, 12:43 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

Actually managed to get it working. It was pretty close. Now I'm just trying to perfect the "Folder.selectDialogue" so I can choose where to save the aerender.cmd file rather than always having to change the path in the script. Here's what's working so far on the text front: //Create New t...
by Ed Smith
September 6th, 2010, 4:19 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

I'm currently trying to get After Effects to automatically generate the aerender cmd file. The main problem I'm having is how to get the actual "current project" file path and name, I think I'm messing up on some of the escape characters aswell but I'm not sure. Any help greatly appreciate...
by Ed Smith
July 22nd, 2010, 12:47 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Re: Batch Process AE projects

Appreciate it Lloyd.
by Ed Smith
July 21st, 2010, 5:20 am
Forum: Scripts Discussion
Topic: Batch Process AE projects
Replies: 10
Views: 19561

Batch Process AE projects

Is it possible to open After Effects projects with a script? I use a script for Photoshop that searches through a selected folder, finds a psd, exports a jpeg, closes the file and then moves onto the next psd. I was hoping to be able to do something similar with AE. What I want to do is open all my ...
by Ed Smith
March 5th, 2010, 5:07 am
Forum: Scripts Discussion
Topic: Adding an animation preset with a script
Replies: 4
Views: 9211

Re: Adding an animation preset with a script

Awesome! The great Dan Ebberts stikes again. Thanks a million for this, this is the first time I've tried writing a script but it certainly wont be the last. I'm a bit late for Lloyds class on FXPHD but I'm hoping to include something similar for next term. Thanks again.
by Ed Smith
March 2nd, 2010, 5:22 am
Forum: Scripts Discussion
Topic: Adding an animation preset with a script
Replies: 4
Views: 9211

Re: Adding an animation preset with a script

is it possible to just specify a folder name and set that as the parentFolder for an object? For example: var compFolder = app.project.item.name("CHAR PRECOMPS"); newComp.parentFolder = compFolder; entire script (which I shamelessly canniballised from Compify (Byron Nash, Edited and Improv...