I have set the text in a newbox in a quark document. Sometimes I have to much text in my box so I need to increase the width of my textbox. How can I set width of newbox to newtext. I do not need to change the height or anything else just the width.
set story 1 of newbox to newtext
Select a text box that is overflowing and run this script:
Note: The choice of integer in the script is up to you.
tell application "QuarkXPress™ "
tell document 1
--selected text box
tell current box
-- assumes that box is overflowing
repeat until box overflows is false
set wbounds to width of bounds as real
set width of bounds to (wbounds + 10)
end repeat
end tell
end tell
end tell