Search found 705 matches
- January 22nd, 2016, 7:49 am
- Forum: Paul Tuersley's Scripts
- Topic: Destabilize Layer
- Replies: 6
- Views: 191389
Re: Destabilize Layer
You could just duplicate the comp with stabilized layer / camera combo. In first one turn off camera, treat as normal 2D stabilized layer. In second comp turn on camera, drag other comp into this comp, make it a 3D layer. It's really just the same thing anyway. But here's my old script so you have b...
- January 18th, 2016, 4:31 am
- Forum: Paul Tuersley's Scripts
- Topic: Destabilize Layer
- Replies: 6
- Views: 191389
Re: Destabilize Layer
Hi Jonas, I actually do this differently these days. Stabilize the layer, make it a 3D layer, add a camera and parent the camera to the layer. When the camera is off the layer will appear stabilized. When the camera is on it will be non-stabilized. Any other layers you add, as long as you enable the...
- July 19th, 2015, 8:41 am
- Forum: Scripts Discussion
- Topic: formating "alert" text
- Replies: 1
- Views: 14130
Re: formating "alert" text
Hi bkan, I don't think you can do this in the regular alert function. It is possible to script your own custom version of an alert/confirm dialog, in which you would have more control over the font styles, but it's a lot of extra work which I wouldn't think is really worth it just to allow bold and ...
- July 19th, 2015, 8:34 am
- Forum: Scripts Discussion
- Topic: Add Animator to text layer
- Replies: 2
- Views: 17584
Re: Add Animator to text layer
Assuming you have a comp open with a text layer as the first layer: var activeItem = app.project.activeItem; var theTextLayer = activeItem.layer(1); var textAnimGroup = theTextLayer.property("ADBE Text Properties").property("ADBE Text Animators"); var theTextAnimator = textAnimGr...
- July 19th, 2015, 8:22 am
- Forum: Scripts Discussion
- Topic: Off for rendering?
- Replies: 2
- Views: 17175
Re: Off for rendering?
Hi Scribling, There is a lot less traffic these days and I'm too busy to check in regularly, but it's not completely abandoned! I'm not aware of anything that could automatically turn off expressions during rendering. The only thing I can suggest is using my pt_ExpressEdit script to disabled all exp...
- April 11th, 2015, 12:50 am
- Forum: Paul Tuersley's Scripts
- Topic: pt_CropPrecomps (formerly Crop Layer Sets)
- Replies: 16
- Views: 131072
Re: pt_CropPrecomps (formerly Crop Layer Sets)
Yes, that's correct. It's only looking at the bounding box so it won't work if your layers are imported as document sized. If it were to scan for pixels it could end up being incredibly slow, depending on how well it could be optimised. It's a great script that I use all the time. But I'm just curio...
- October 8th, 2014, 12:30 am
- Forum: Expression Discussion
- Topic: Extract keyframes from audio without opening the composition
- Replies: 1
- Views: 15904
Re: Extract keyframes from audio without opening the composi
The script has to open the comp because of this line: app.executeCommand(app.findMenuCommandId("Convert Audio to Keyframes")); This command is used to select the menu item for converting audio as there is no scripting specific command for this. But it requires the comp to be open as it wou...
- September 3rd, 2014, 8:00 am
- Forum: Expression Discussion
- Topic: Connecting In/Out Points with time remap
- Replies: 7
- Views: 32560
Re: Connecting In/Out Points with time remap
Something like this: i1 = thisComp.layer("Layer 1").inPoint; o1 = thisComp.layer("Layer 1").inPoint+4; i2= thisComp.layer("Layer 1").outPoint-4; o2 = thisComp.layer("Layer 1").outPoint; if (time <= o1) linear(time, i1, o1, key(1).value, key(2).value); else if ...
- August 27th, 2014, 3:44 am
- Forum: Script requests
- Topic: Rename file when import
- Replies: 1
- Views: 15181
Re: Rename file when import
You mean you want to rename it in the project? The item object, which is the base object for all items in the project panel, has a name attribute which is read/write, so that should just be:
importImg.name = "myName";
importImg.name = "myName";
- March 20th, 2014, 8:24 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
Then there was my Variable Scope errors: vals declared Globally AND within a function that changes vals = NO Global changes to vals,. 3) are there any doc's, vids, manuals of any kind that describe the following ADBE groups and detail their functions and diff's?,. and\or detail Shape, Path and Keyf...
- March 19th, 2014, 9:13 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
1) would i use the same type as function findMaskProperty?, IE: return maskKeyValue; } catch(e) { return -1; I'd advise you to remove all the try/catches. They should only be used when you have no other option than to try something that could fail. There's nothing here that should need it so I just...
- March 19th, 2014, 6:11 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
Well yes, in your readShowMaskKeys function you're defining a local instance of the variable vals and you aren't returning it. In fact you're not returning anything to the variable maskKeyValue that is reading the result of that function. But then I don't know if it's supposed to be returning to tha...
- March 19th, 2014, 5:39 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
So what is it that you want to do? Please explain the specifics. Do you have hundreds of masks that you want to paste into a single shape path as keyframes? Do you have hundreds of mask keyframes on a single mask that you want to paste into multiple shape paths? Do you want the script to create the ...
- March 19th, 2014, 4:40 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
Have you seen the way I post code?Click the 'Code' box at the top of the reply window then paste the code between the tags. Or after pasting, select all the code then click the 'Code' box to do the same thing.
Paul
Code: Select all
like this
Paul
- March 19th, 2014, 3:25 pm
- Forum: Scripts Discussion
- Topic: how to make arrayOfValues parameter for setValuesAtTimes?
- Replies: 13
- Views: 57669
Re: how to make arrayOfValues parameter for setValuesAtTimes
Well in truth it looks like there's so much wrong with that script it's hard to know where to start. It would be easier to start from the working script that does the opposite, assuming it does work. A few suggestions: Firstly, do you realise that only shape layers that contain a 'Path' property can...