Insert text at top of next column in Quark

Is it possible to insert text at the top of the next column in Quark 6.5? When I say column I mean text columns rather than a table. I wish to search one column for a piece of text and then insert it at the top of the next column for all the pages in my document. If anyone thinks this is possible with applescript please let me know and any pointers would be great.

Thanks

Kieran

You should be able to insert the ascii character for the page break/column break before the text you search for. I don’t have Quark here and it’s been a while since I have done much scripting for it, but this shouldn’t be too hard.

some thing like this should help.

set NC to (ASCII character 11)
--
tell application "QuarkXPress"
	tell document 1
		set doRepeat to true
		repeat while doRepeat is true
			try
				set (every text of every story where it is ("Blah" & return)) to "Blah" & NC
			on error
				set doRepeat to false
			end try
		end repeat
	end tell
end tell