I want to change some tab characters in a paragraph to return characters. I’m not sure how to do it. Will someone please explain how to do this. I’m working at a FaceSpan app that will work with QuarkXPress 4.11.
The following code will replace tab characters with return characters in a Quark document:
tell application "QuarkXPress™"
tell document 1
set (every character of every story where it = " ") to "
"
end tell
end tell
Hope this helps,
Thanks Mytxlscript. I had initially got this to work by using a repeat statement but the solution you give is much better.