Search found 8 matches

by z00story
August 2nd, 2010, 4:27 pm
Forum: Scripts Discussion
Topic: recursively set composition lengths
Replies: 2
Views: 7712

Re: recursively set composition lengths

Thanks for this, I get it now. Now I'm struggling with trying to make the arrays necessary to find every "usedIn" item. I need to go up through parents until there are no more parents, I also need to go "sideways" that is, find every usedIn[] array instance that is not undefined....
by z00story
August 2nd, 2010, 2:15 pm
Forum: Scripts Discussion
Topic: recursively set composition lengths
Replies: 2
Views: 7712

recursively set composition lengths

I thought I saw a script that did this a few years back on aescripts, but I can't seem to find it. Say you have a layer, nested deep within a structure of pre-comps. I want to select that layer, then hit a script to adjust the length of every parent comp to the length of that layer. My problem is, I...
by z00story
July 20th, 2010, 1:46 pm
Forum: Scripts Discussion
Topic: Trouble moving something forward one frame
Replies: 1
Views: 6043

Trouble moving something forward one frame

I feel lame, but I just can't figure it out. So I am trying to pre-comps some footage and then move it forward one frame in the comp. I get how to do that, but I'm having an issue with time vs frames conversion. We're working in frames, but extendscript is all ms based. So first I simply divided 1 b...
by z00story
September 21st, 2008, 7:15 pm
Forum: Scripts Discussion
Topic: Custom file name / Output Render name / Render Path Script
Replies: 1
Views: 6344

Custom file name / Output Render name / Render Path Script

Hey guys, I barely know TCL and have been going nuts with this for some time. I'm trying to make a script that does this: Upon starting a new file from a template I made - -Asks user to input a VFXName based on our VFXName naming scheme (ie, 101_023-01, "episode_scene_shot") -Asks user for...
by z00story
September 4th, 2008, 9:46 pm
Forum: Expression Discussion
Topic: Move layer by marker Name
Replies: 6
Views: 13770

Re: Move layer by marker Name

There's no way to have the expression remember where you were, but what you can do, once you get the index for the most recent marker, is decrement that to get the marker before that. That would give you the comment you'd use to index into your array for the start location for your ease(). So basic...
by z00story
September 4th, 2008, 7:50 pm
Forum: Expression Discussion
Topic: Move layer by marker Name
Replies: 6
Views: 13770

Re: Move layer by marker Name

Thanks, I updated the script to this: snapSpeed = .2 location = [[644,858],[2685,210],[2098,834]]; m = thisComp.marker; //FIND THE CURRENT MARKER if (m.numKeys > 0) { ind = m.nearestKey(time).index; if (m.nearestKey(time).time > time) { ind--; } ind = ind<1 ? 1 : ind; mNum = m.key(ind).comment; endT...
by z00story
September 4th, 2008, 2:18 pm
Forum: Expression Discussion
Topic: Move layer by marker Name
Replies: 6
Views: 13770

Re: Move layer by marker Name

anyone? Beuller?
by z00story
September 4th, 2008, 1:05 pm
Forum: Expression Discussion
Topic: Move layer by marker Name
Replies: 6
Views: 13770

Move layer by marker Name

Hey I am trying to move a layer based on comp markers comment IDs, take a look at what I have so far: snapSpeed = .2 m = thisComp.marker; thePos = [transform.position[0], transform.position[1]]; //Configuration Locations location = [[1541,824],[2685,210]]; mNum = m.nearestKey(time).comment; //Moveme...