Search found 9 matches
- May 29th, 2007, 6:47 pm
- Forum: Scripts Discussion
- Topic: DESPERATE: how to load external JSON data?
- Replies: 2
- Views: 13559
- May 20th, 2007, 9:27 pm
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 189603
- May 17th, 2007, 7:38 pm
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 189603
Fit Text to Box
After playing with this for a while, I realized you need to compensate for the anchor point when scaling. Whipped this up - let me know what you guys think: function fitTextToBox(myTextLayer,boxX,boxY){ var myMask; var myVertices; var thePosition; var TextWidth; var TextHeight; var NewScale; myTextL...
- May 17th, 2007, 4:41 pm
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 189603
wow!
this is really, REALLY, great. Thanks!
I've been having troubles with the app.executeCommand (esp in the cs3 beta) but I got around that by just leaving a mask there in the source project, and then removing it after i get the size of the text layer.
I've been having troubles with the app.executeCommand (esp in the cs3 beta) but I got around that by just leaving a mask there in the source project, and then removing it after i get the size of the text layer.
- July 10th, 2006, 10:25 am
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 189603
- July 4th, 2006, 12:43 pm
- Forum: Scripts Discussion
- Topic: Determining Width and Height of a Text Layer
- Replies: 62
- Views: 189603
- July 1st, 2006, 6:10 pm
- Forum: Scripts Discussion
- Topic: Shell scripts from AE
- Replies: 2
- Views: 10866
i was writing out a .sh file, and then trying to run that file. the script would run, but nothing would happen. my guess is that the line breaks were broken, and the the comment on the first line commented out the whole script. (If i opened the file in BBEdit, changed the line breaks to Unix, and ra...
- June 28th, 2006, 4:50 pm
- Forum: Scripts Discussion
- Topic: Shell scripts from AE
- Replies: 2
- Views: 10866
Shell scripts from AE
Hey everyone, I've been playing with generating shell scripts from AE (as seen in IMP's muster script http://aenhancers.com/viewtopic.php?t=103 ) but my scripts don't run... I have a feeling it has to do with mac vs unix handling of line breaks, as TextWrangler reads the generated file as Macintosh ...
- June 21st, 2005, 4:02 pm
- Forum: Scripts Discussion
- Topic: Starting frames in Timecode property
- Replies: 3
- Views: 16362
Current timecode of a layer?
To get a script to set the Starting Frame parameter of a Timecode effect that had already been applied to a layer, you'd use something like: curLayer.Effects.property("Timecode").property("Starting Frame").setValue(85); Paul T Is there an easy way to get the current timecode of ...