Resizing A Text Box in iWork Pages '09
I am trying to tell Pages '09 to resize a text box using Applescript with little luck. Any help is appreciated.
There is already a text box on the page, but I need to re-size it to accommodate a longer string. I have tried many things, with this appearing to be the closest:
tell application "Pages"
activate
tell front document
tell text box 1
set locked to 0
set bounds to {"1 in", "1 in", "3 in", "6 in"}
end tell
end tell
end tell
Still, it errors out.
There is already a text box on the page, but I need to re-size it to accommodate a longer string. I have tried many things, with this appearing to be the closest:
tell application "Pages"
activate
tell front document
tell text box 1
set locked to 0
set bounds to {"1 in", "1 in", "3 in", "6 in"}
end tell
end tell
end tell
Still, it errors out.
Quad-Core Intel Xeon with 2 - 3 GHz Processors (Mac Pro), Mac OS X (10.6.3)