Search found 14 matches

by Iaenic
August 13th, 2014, 12:50 pm
Forum: Scripts Discussion
Topic: Detect if layer is a text layer
Replies: 2
Views: 3420

Re: Detect if layer is a text layer

After further investigation, I managed to fix my problem.

I was trying to use this:
if (myComp.layers[y].source.name == null) { y++ }

instead of this:
if (myComp.layers[y].source == null) { y++ }

Newbie mistake, but at least I found it!
by Iaenic
August 13th, 2014, 10:55 am
Forum: Scripts Discussion
Topic: Detect if layer is a text layer
Replies: 2
Views: 3420

Detect if layer is a text layer

Hi everyone! I'm trying to help someone write a script in the scripts request forum that selects layers with the same source footage. The problem i'm running into is that as it loops through the layers, if it runs into "text" it finds the source as null and breaks. Is there something I can do that w...
by Iaenic
August 13th, 2014, 10:49 am
Forum: Script requests
Topic: layer - select all from source
Replies: 1
Views: 4211

Re: layer - select all from source

Sorry it took so long to get a reply. The code below should work for selecting items with the same source, just select an item and run the script. EDIT: Fixed the bugs! { var myComp = app.project.activeItem; if (myComp.selectedLayers.length != 0) { var myLayers = myComp.selectedLayers; var myNumLaye...
by Iaenic
August 12th, 2014, 2:41 pm
Forum: Script requests
Topic: Set Keyframe Influence
Replies: 0
Views: 4240

Set Keyframe Influence

I'm attempting to make a toolbar that lets me change the incoming or outgoing velocities for all selected keyframes to set amounts (60%, 80%, 100% etc) with a single button press so I don't have to keep right clicking and going into the keyframe velocity window every time. The two problems i'm runni...
by Iaenic
January 15th, 2013, 5:33 pm
Forum: Script requests
Topic: Delete Duplicate Keyframes
Replies: 2
Views: 4332

Re: Delete Duplicate Keyframes

Absolutely perfect!

This solves my immediate problem, and I should also be able to learn a lot from how you wrote it. Thank you!
by Iaenic
January 11th, 2013, 6:17 pm
Forum: Script requests
Topic: Delete Duplicate Keyframes
Replies: 2
Views: 4332

Delete Duplicate Keyframes

Hello! I'm wondering if you can help me write up a very quick script. It's similar to the aescripts jdSmartBaker, but much simpler. I need a script that looks at the first keyframe and then continually deletes each keyframe after it that has the same value, until it hits a keyframe with a new value....
by Iaenic
September 17th, 2012, 2:05 pm
Forum: Scripts Discussion
Topic: Script to reveal property
Replies: 1
Views: 3209

Script to reveal property

Is there any object that will allow you to expand/twirldown a specific property? To be honest, I just want to make a button that expands keyframed properties without expanding properties with only expressions on them. (I know about the U, Shift+EE trick, but that hides properties with both keyframes...
by Iaenic
August 27th, 2012, 3:53 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Update: Turns out it's not what I thought it was. Instead the renderfarm engine is not liking that some mapped network drives have red X's over them, even though they are connected.
by Iaenic
August 27th, 2012, 2:15 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Might that work if I force it to bring up a save-as dialog with app.project.saveWithDialog()?
by Iaenic
August 27th, 2012, 1:41 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Ok, i've come up with a new problem! I've got the script set up to where it can queue up renderitems, save, and then submit the jobs to the farm. The only problem is, I think that it's not actually completing the save before starting the function to send off the data to the farm. That's causing some...
by Iaenic
August 16th, 2012, 9:41 am
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Thank you! That's exactly what I needed.
by Iaenic
August 15th, 2012, 5:39 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Ok, new question. I have some code that is allowing me to over-ride the start frame and duration of an item added to the render queue. if (SmedgeIt.checkbox2.value == false) { var STS_Framerate = app.project.item(i).frameRate; rqi.timeSpanStart = SmedgeIt.edittext4.text / STS_FR; var STS_Duration = ...
by Iaenic
August 9th, 2012, 3:25 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Re: Work in Progress: Questions for a RenderFarm Submitter

Ahh, I see. I think my plan will be to give it three conditions then... if Queued render items exist but selected comps dont, then use the queue. If selected comps exist, but queued render items don't, use comps. If both exist, pop up an annoying window asking the user which he wants to use. :mrgreen:
by Iaenic
August 9th, 2012, 12:01 pm
Forum: Scripts Discussion
Topic: Work in Progress: Questions for a RenderFarm Submitter
Replies: 10
Views: 9075

Work in Progress: Questions for a RenderFarm Submitter

Hi everyone! Having used expressions pretty extensively for the past couple years, i've decided to jump neck-deep into teaching myself scripting. I've been at it for a couple weeks now, and have decided to tackle a project as a case-study to learn the ins and outs of everything. I'm working on a scr...