Search found 2 matches

by wing586
October 6th, 2012, 7:56 am
Forum: Scripts Discussion
Topic: How do I know Text's width ?
Replies: 2
Views: 8652

Re: How do I know Text's width ?

Check out the sourceRectAtTime method in the scripting guide. var bounds = app.project.activeItem.layer(1).sourceRectAtTime(activeItem.time, true); alert("top = " + bounds.top + "\rleft = " + bounds.left + "\rheight = " + bounds.height + "\rwidth = " + bounds...
by wing586
October 1st, 2012, 8:25 pm
Forum: Scripts Discussion
Topic: How do I know Text's width ?
Replies: 2
Views: 8652

How do I know Text's width ?

How do I know Text's width in Script Code ?

app.project.activeItem.layer(1).property("ADBE Text Properties").width ???

app.project.activeItem.layer(1).property("ADBE Text Properties").property("ADBE Text Document").width ????

I really want to know...