Expressions/Scripts/Presets

Search found 21 matches

  • 1
  • 2
by Klustre
Thu Feb 14, 2013 2:18 am
Forum: Scripts Discussion
Topic: Capturing a keystroke from within a window?
Replies: 1
Views: 1927

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
Thu Jan 10, 2013 8:33 am
Forum: Script requests
Topic: Script Needed please
Replies: 1
Views: 2272

Re: Script Needed please

Hi Mike, can you give a coarse description of what you need?
by Klustre
Mon Jan 07, 2013 9:23 am
Forum: Script requests
Topic: Is this possible?
Replies: 4
Views: 3175

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
Fri Jan 04, 2013 12:28 pm
Forum: Script requests
Topic: Is this possible?
Replies: 4
Views: 3175

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
Thu Nov 22, 2012 2:55 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 3620

Re: Linking Mask Paths with script

You actually already used it in your expression on the mainComp. But for the newMask:
newMask.name = "Hullo";
by Klustre
Wed Nov 21, 2012 8:36 am
Forum: Scripts Discussion
Topic: Linking Mask Paths with script
Replies: 5
Views: 3620

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
Wed Oct 10, 2012 5:00 am
Forum: Scripts Discussion
Topic: Feedback wanted: Fit Layers To
Replies: 6
Views: 3255

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
Wed Oct 10, 2012 4:47 am
Forum: General Scripts Library
Topic: Quick Loop
Replies: 0
Views: 5249

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 frie...
by Klustre
Wed Oct 10, 2012 4:23 am
Forum: Scripts Discussion
Topic: Feedback wanted: Fit Layers To
Replies: 6
Views: 3255

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
Sun Sep 30, 2012 5:03 am
Forum: Script requests
Topic: Select all abobe/below layers
Replies: 8
Views: 6708

Re: Select all abobe/below layers

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

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
Tue Sep 25, 2012 5:48 am
Forum: Scripts Discussion
Topic: catching errors - app.onError
Replies: 2
Views: 2603

Re: catching errors - app.onError

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

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

Re: simple layer repeater script problem

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

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
Thu Sep 06, 2012 2:16 pm
Forum: Expression Discussion
Topic: Duplicate layer over mask data / vertice points
Replies: 1
Views: 3166

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...
  • 1
  • 2