Search found 705 matches

by Paul Tuersley
March 2nd, 2013, 5:10 pm
Forum: Scripts Discussion
Topic: popup solid settings
Replies: 7
Views: 14438

Re: popup solid settings

That command works when the item is selected in the project panel too, but it doesn't sound like what you want anyway.

Most things are achievable with scripting but often you'll have to work around the limitations and do it the best way possible with the available options.

Paul
by Paul Tuersley
March 2nd, 2013, 4:41 pm
Forum: Scripts Discussion
Topic: popup solid settings
Replies: 7
Views: 14438

Re: popup solid settings

As long as the comp is active and a single solid layer is selected you can use this: app.executeCommand(app.findMenuCommandId("Solid Settings...")); This works for accessing any/most menu items as long as the right conditions for it are met. You won't be able to do anything once that happe...
by Paul Tuersley
March 2nd, 2013, 4:38 pm
Forum: Scripts Discussion
Topic: AE color window
Replies: 7
Views: 14379

Re: AE color window

As far as I know you can't. But as Dan showed, you can use the system color picker.

Paul
by Paul Tuersley
February 6th, 2013, 12:57 pm
Forum: Script requests
Topic: How can I get this to work?
Replies: 4
Views: 11132

Re: How can I get this to work?

I wrote the line you needed. In your code you had property(3).setValue(true) but "property" isn't a variable. You defined the variable when you wrote: var the_fx = target("Effects").addProperty("Fast Blur"); So "the_fx" is now a variable that is storing the ef...
by Paul Tuersley
February 6th, 2013, 7:32 am
Forum: Script requests
Topic: How can I get this to work?
Replies: 4
Views: 11132

Re: How can I get this to work?

You were so close I'm surprised you missed it:

the_fx.property(3).setValue(true);
by Paul Tuersley
January 15th, 2013, 4:23 pm
Forum: Script requests
Topic: Delete Duplicate Keyframes
Replies: 2
Views: 10662

Re: Delete Duplicate Keyframes

Try this: var activeItem = app.project.activeItem; if (activeItem != null && activeItem instanceof CompItem) { var selectedProps = activeItem.selectedProperties; var y; app.beginUndoGroup("Remove Duplicate Keys"); for (var x = 0; x < selectedProps.length; x++) { if (selectedProps[x...
by Paul Tuersley
January 11th, 2013, 5:01 am
Forum: Scripts Discussion
Topic: controlling Puppet tool with script ?
Replies: 2
Views: 9736

Re: controlling Puppet tool with script ?

I don't think you'll have any luck with this. My suggestion would be to try applying the puppet to a precomp (start with a fully opaque layer so it creates a mesh across the whole frame) then make duplicate precomps and replace the still image inside it. One problem with scripts trying to create pin...
by Paul Tuersley
December 10th, 2012, 2:46 am
Forum: Scripts Discussion
Topic: Solos and rendering, am I crazy?
Replies: 2
Views: 8034

Re: Solos and rendering, am I crazy?

I use solos as a second activation "eye" switch too. While I also use them in the more typical way, if I get the comp into a state I like by experimenting with active layers using the solo switch, I'll leave it that way so I can still easily see which layers were active before I made this ...
by Paul Tuersley
December 4th, 2012, 9:04 am
Forum: Scripts Discussion
Topic: access and control application (AE) windows from a script
Replies: 2
Views: 7759

Re: access and control application (AE) windows from a scrip

As you suspected, it can't be done. The closest you can do is probably use a script to apply a smooth expression to the property.
by Paul Tuersley
November 8th, 2012, 7:30 pm
Forum: Expression Discussion
Topic: how to use LoopOut with smooth?
Replies: 4
Views: 13878

Re: how to use LoopOut with smooth?

Actually you can.

Code: Select all

if (time < key(1).time) loopIn("continue");
else loopOut("continue");
by Paul Tuersley
November 8th, 2012, 6:05 pm
Forum: Expression Discussion
Topic: how to use LoopOut with smooth?
Replies: 4
Views: 13878

Re: how to use LoopOut with smooth?

I don't think you can use both together but you could apply one, then use Animation > Keyframe Assistant > Convert Expression to Keyframes to bake the result before applying the other.
by Paul Tuersley
November 6th, 2012, 3:00 am
Forum: Scripts Discussion
Topic: Creating an ellipse mask by hand
Replies: 1
Views: 6729

Re: Creating an ellipse mask by hand

My guess would be it's the offset in pixels from the vertices to the tangent handle.
by Paul Tuersley
October 13th, 2012, 3:07 am
Forum: Scripts Discussion
Topic: active CS6 Ray-traced 3D engine
Replies: 2
Views: 7790

Re: active CS6 Ray-traced 3D engine

Yes we can! var activeItem = app.project.activeItem; if (activeItem != null && activeItem instanceof CompItem) { alert("renderer is " + activeItem.renderer); if (activeItem.renderer != "ADBE Picasso") { activeItem.renderer = "ADBE Picasso"; alert("renderer ...
by Paul Tuersley
October 10th, 2012, 2:01 pm
Forum: Scripts Discussion
Topic: Trimming Footage in Layer
Replies: 5
Views: 15615

Re: Trimming Footage in Layer

This looks like a bug to me. I've tested it all the way back to CS3 and it's the same. When changing the inPoint, it attempts to retain the layer duration by also moving the outPoint if it can. But the new duration is off by the amount of any startTime offset (if startTime isn't zero). Subsequent at...
by Paul Tuersley
October 5th, 2012, 4:01 am
Forum: Scripts Discussion
Topic: Progress Bars and User Updates
Replies: 10
Views: 26528

Re: Progress Bars and User Updates

From what I remember this issue was pretty much laid to rest as of CS5.5. Certainly I've stopped testing for it after it previously being a problem in some of my scripts. Are you using the update() method? I think that's necessary.