Can't get "true" height of text box (text object) in Photoshop CS4-CS6 on Mac
i'm seeing behavior in cs4, cs5 , cs6 on mac using applescript. when height of text object layer such:
tell app "adobe photoshop cs4"
tell current document
set textobjectheight to height of text object of art layer 1
end tell
end tell
the value returned doesn't match height of text object. in mind text object box that's displayed when click on text in text layer text tool active. value width appears match, i'd expect.
i'm trying height , width of text box (text object) can draw box "underneath" on layer 1 can tell text box is. kind of fpo-type assistant. i'm using position values , height , width create colored box. realized height isn't right.
any great appreciated. i've not explored use of javascript far, open solution.
thanks,
stephan
try script @ end of thread:
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment