Search found 21 matches

by Klustre
February 14th, 2013, 2:18 am
Forum: Scripts Discussion
Topic: Capturing a keystroke from within a window?
Replies: 1
Views: 2137

Re: Capturing a keystroke from within a window?

Have a look at page 75 from the Script UI for Dummies pdf: http://www.kahrel.plus.com/indesign/scriptui.html
And page 119 of the javascript tools guide cs6. The thing you want to look for is addEventListener.

Good luck! Oh, and please post your progress. Very much interested if this works!
by Klustre
January 10th, 2013, 8:33 am
Forum: Script requests
Topic: Script Needed please
Replies: 1
Views: 2494

Re: Script Needed please

Hi Mike, can you give a coarse description of what you need?
by Klustre
January 7th, 2013, 9:23 am
Forum: Script requests
Topic: Is this possible?
Replies: 4
Views: 3483

Re: Is this possible?

The footage does get trimmed, but you can easily trim the comp by reading the footage duration with .outPoint (or .duration if the footage starts at 0) and then set the comp's .duration to it. Page 92 and 31 (of the AE CS6 Scripting Guide), respectively.
by Klustre
January 4th, 2013, 12:28 pm
Forum: Script requests
Topic: Is this possible?
Replies: 4
Views: 3483

Re: Is this possible?

I don't see anything extremely hard going on. Should even be quite a simple script. The only thing that stands out is the "open replace footage dialog", you would have to do this with a file browser, since you can't open the actual dialog.
by Klustre
November 22nd, 2012, 2:55 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 3901

Re: Linking Mask Paths with script

You actually already used it in your expression on the mainComp. But for the newMask:

Code: Select all

newMask.name = "Hullo";
by Klustre
November 21st, 2012, 8:36 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 3901

Re: Linking Mask Paths with script

The error refers to: newMask.maskPath.canSetExpression = true; You're trying to set this, while it's read only. You could use it in an if statement with double equals (==) to check if you can set the expression. But if you're the only one to use it, you know the path can take an expression, so you m...
by Klustre
October 10th, 2012, 5:00 am
Forum: Scripts Discussion
Topic: Feedback wanted: Fit Layers To
Replies: 6
Views: 3709

Re: Feedback wanted: Fit Layers To

Yes, I'd probably use Jeff's method, like I did here: viewtopic.php?f=3&t=2146 But that would be the Object method. What is it you mean exactly by closure?
by Klustre
October 10th, 2012, 4:47 am
Forum: General Scripts Library
Topic: Quick Loop
Replies: 0
Views: 6101

Quick Loop

Quick Loop: adds a Time Remap to the selected layers adds a loopOut("cycle"); to the Remap sets a new keyframe before the last and removes the last (blank) keyframe So that the layer loops smoothly without a blink in between each loop. A friend of mine requested this one, because he's about to do an...
by Klustre
October 10th, 2012, 4:23 am
Forum: Scripts Discussion
Topic: Feedback wanted: Fit Layers To
Replies: 6
Views: 3709

Re: Feedback wanted: Fit Layers To

Thanks for your feedback! Didn't know about that shortcut yet and it works very well. I'll use it from now on :) I'm not sure if I'll continue working on this, since it was just made for learning purposes. Might work on an advanced Sequence Layers instead. But your AVItem suggestion sounds challengi...
by Klustre
September 30th, 2012, 5:03 am
Forum: Script requests
Topic: Select all abobe/below layers
Replies: 8
Views: 8299

Re: Select all abobe/below layers

Oh, nice! Didn't know you could use .selected with layers as well.
by Klustre
September 29th, 2012, 1:21 pm
Forum: Script requests
Topic: Select all abobe/below layers
Replies: 8
Views: 8299

Re: Select all abobe/below layers

You can't select a layer, so you'd directly have to go into moving the layers in the timeline. Is this a fixed value every time?
by Klustre
September 25th, 2012, 5:48 am
Forum: Scripts Discussion
Topic: catching errors - app.onError
Replies: 2
Views: 2788

Re: catching errors - app.onError

The Adobe thread can be found here:
http://forums.adobe.com/message/4193615#4193615

(Just for reference)
by Klustre
September 14th, 2012, 8:48 am
Forum: Scripts Discussion
Topic: simple layer repeater script problem
Replies: 2
Views: 3724

Re: simple layer repeater script problem

It works for me. Did you restart AE to clear all the vars?
by Klustre
September 11th, 2012, 5:50 pm
Forum: Scripts Discussion
Topic: ScriptUI for Dummies (ScriptUI Ref)
Replies: 0
Views: 2988

ScriptUI for Dummies (ScriptUI Ref)

On the Adobe Forums I came across this insane reference. It shows tons of code samples!
http://www.kahrel.plus.com/indesign/scriptui.html

Original post:
http://forums.adobe.com/message/4343977#4343977
by Klustre
September 6th, 2012, 2:16 pm
Forum: Expression Discussion
Topic: Duplicate layer over mask data / vertice points
Replies: 1
Views: 3396

Re: Duplicate layer over mask data / vertice points

According to this thread: http://aenhancers.com/viewtopic.php?f=11&t=1929&p=7052&hilit=mask+vertices#p7052 You can't access vertex info with expressions (last post). You might want to have a look at this post: http://aenhancers.com/viewtopic.php?f=6&t=1423&hilit=mask+vertices And check out Nab's "Ma...