Converting height and width to numbers, text, or string in PhotoS hop
Converting height and width to numbers, text, or string in PhotoS hop
- Subject: Converting height and width to numbers, text, or string in PhotoS hop
- From: Ron Bishop <email@hidden>
- Date: Thu, 12 Apr 2001 15:46:10 -0500
I need to make a decision based on weather a picture is landscape or
profile. I know how to get the height and width however that yields the
result of "pixels X.X" which I don't know how to coerce into either text,
numbers, or a string. Any ideas?
tell application "Adobe. Photoshop. 5.0.2"
activate
tell current document
set photoHeight to height
set photoWidth to width
end tell
end tell
Thanks,
Ron Bishop
[demime 0.97c removed an attachment of type application/ms-tnef]