Search found 3 matches
- March 5th, 2017, 1:39 pm
- Forum: Expression Discussion
- Topic: Measure text layer with sourceRectAtTime()
- Replies: 1
- Views: 19510
Re: Measure text layer with sourceRectAtTime()
Do you still need help with this? .top and .left should give you comp-space coordinates. Is there parenting involved or anything else adjusting the text sizing/position? Can you share the expression you're using?
- November 10th, 2016, 7:49 am
- Forum: Scripts Discussion
- Topic: Import and Export Text Layer Advice
- Replies: 6
- Views: 19187
Re: Import and Export Text Layer Advice
From looking at the code… I think you’d just need to change how foundlines works… After the inPoint is loaded, reset foundlines… if ( currentlayer === null ) { currentlayer = myComp.layers.addText(""); } currentlayer.inPoint = tc; //Add this line foundlines = 0; } els...
- November 9th, 2016, 1:53 pm
- Forum: Scripts Discussion
- Topic: Set Marker Duration
- Replies: 3
- Views: 16410
Re: Set Marker Duration
Yeah, the weird thing about markers is you can make any changes to the marker value object you want… but it doesn’t take effect until it’s set back on the layer. If you’re dealing with a pre-existing marker, you can make due with your original code, but then adding myComp.layer(1).Marker.setValueAt...