Yeah, the main group is a row containing two items, the first being a group with all the stuff on the left, and the second group containing just the render button. Actually the group for the render button isn't needed, you could just have the render button without it being inside a group.
Paul
Search found 705 matches
- June 2nd, 2011, 9:35 am
- Forum: Scripts Discussion
- Topic: UI layout question
- Replies: 3
- Views: 8788
- June 1st, 2011, 3:21 am
- Forum: Scripts Discussion
- Topic: UI layout question
- Replies: 3
- Views: 8788
Re: UI layout question
Try this: var myPalette = buildUI(this); if(myPalette != null && myPalette instanceof Window) { myPalette.show(); } function buildUI (thisObject) { if(thisObject instanceof Panel) { var myPalette = thisObject; } else { var myPalette = new Window ("palette", "test", undefi...
- June 1st, 2011, 3:02 am
- Forum: Scripts Discussion
- Topic: Get all effects used in project
- Replies: 6
- Views: 11440
Re: Get all effects used in project
I've written this script that does it:
http://aescripts.com/pt_effectsearch/
http://aescripts.com/pt_effectsearch/
- May 16th, 2011, 1:41 am
- Forum: Script requests
- Topic: Script to Slice a large Comp canvas Into cropped-Precomps.
- Replies: 3
- Views: 11780
Re: Script to Slice a large Comp canvas Into cropped-Precomp
I have an image that I want to enlarge that. I am not a professional artist, so I have no ideas about this. The width is 1087 pixels and a height of 731 pixels. I want the picture to be magnified to be 40 inches wide by 26 inches high. Would the image appear stretched if magnified that high. Can yo...
- May 15th, 2011, 9:09 am
- Forum: Scripts Discussion
- Topic: Shape Layers Question
- Replies: 1
- Views: 5894
Re: Shape Layers Question
You need the sourceRectAtTime method. This is from the CS3 scripting guide: AVLayer sourceRectAtTime() method app.project.item(index).layer(index).sourceRectAtTime(timeT, extents) Retrieves the rectangle bounds of the layer at the specified time index, corrected for text or shape layer content. Use,...
- May 12th, 2011, 10:36 am
- Forum: Scripts Discussion
- Topic: Time remapped values
- Replies: 2
- Views: 8909
Re: Time remapped values
You may be able to do it with valueAtTime expressions on the animated camera properties to get the same results as time remapping. For example, something like this on the camera's position property:
Code: Select all
transform.position.valueAtTime(thisComp.layer("Comp 2").timeRemap);
- May 4th, 2011, 3:46 pm
- Forum: Scripts Discussion
- Topic: Move a Layer to a X/Y position via Script
- Replies: 2
- Views: 7032
Re: Move a Layer to a X/Y position via Script
This should do it:
Code: Select all
comp_bg.property("ADBE Transform Group").property("ADBE Position").setValue([360,289]);
- April 22nd, 2011, 2:45 am
- Forum: Scripts Discussion
- Topic: Problem with custom Incremental Save script
- Replies: 3
- Views: 8842
Re: Problem with custom Incremental Save script
On approx line 33 you have this line:
if ( my_palette.grp.optsRow.text_input.text = "" ) {
but it should be:
if ( my_palette.grp.optsRow.text_input.text == "" ) {
if ( my_palette.grp.optsRow.text_input.text = "" ) {
but it should be:
if ( my_palette.grp.optsRow.text_input.text == "" ) {
- April 12th, 2011, 2:34 pm
- Forum: Expression Discussion
- Topic: Ease expression help anyone?
- Replies: 3
- Views: 12954
Re: Ease expression help anyone?
The problem is that in this case the parameters need to be one dimensional values, not a 2/3D array like Position. You have to choose either the X, Y or Z position value. ease(transform.position[0],0,thisComp.width,0,360); It's saying, "given this layer's X position value, convert the range of ...
- March 22nd, 2011, 11:58 am
- Forum: Scripts Discussion
- Topic: Problem with render queue and start time span
- Replies: 4
- Views: 12003
Re: Problem with render queue and start time span
Ok, yes I do see what you mean. You could try wrapping it in this to prevent the error appearing, but that's a bit of a hack.
Code: Select all
app.beginSuppressDialogs();
app.project.renderQueue.item(lastInRQ).timeSpanStart = startSec;
app.endSuppressDialogs(false);
- March 22nd, 2011, 3:08 am
- Forum: Scripts Discussion
- Topic: Problem with render queue and start time span
- Replies: 4
- Views: 12003
Re: Problem with render queue and start time span
This seems to be working as expected for me. Are you saying you set your comp settings to display first frame as 200? If I try it set like this (at 25 fps), I can get the message "'After Effects warning: timeSpanStart of 0 seconds will cause render to have frames outside of range defined by com...
- March 16th, 2011, 5:28 pm
- Forum: Scripts Discussion
- Topic: Control Opacity Interactively With Slider
- Replies: 3
- Views: 8217
Re: Control Opacity Interactively With Slider
Those are what's called matchNames, which is the universal names that don't change no matter what language you're running AE in. It ensures the script will run correctly in all languages, not just English.
Paul
Paul
- March 4th, 2011, 4:10 am
- Forum: Scripts Discussion
- Topic: Control Opacity Interactively With Slider
- Replies: 3
- Views: 8217
Re: Control Opacity Interactively With Slider
Here's an example that will change the opacity of the first layer in the active comp: { var pal = new Window("palette"); pal.slider = pal.add("slider", undefined, 0, 0, 100); pal.center(); pal.show(); pal.slider.onChanging = onSliderChange; function onSliderChange() { var activeI...
- March 4th, 2011, 3:55 am
- Forum: Scripts Discussion
- Topic: Dropdown Menu listing all layers in active comp
- Replies: 1
- Views: 6069
Re: Dropdown Menu listing all layers in active comp
Here's some code that won't work on its own, but should give you some ideas. The layerNameArray stuff shows how you could create an array of layer names. The palette stuff shows how you might implement adding items to a drop down. I imagine that this is something that will need refreshing, so you co...
- February 20th, 2011, 12:01 pm
- Forum: General Scripts Library
- Topic: CameraMapper_Setup
- Replies: 2
- Views: 12872
Re: CameraMapper_Setup
The comments mention that it's a bit slow on OS X. It's purely a guess, but maybe it's happening in the loops where you're deleting rotation keyframes. I have a script where deleting lots of keyframes was causing slowdown, so I switched to this rather hacky method instead: theProperty.selected = tru...