Section start in XPress 6

Hi. Can anyone tell me how you can set the section start for a quark 6 document? I see nothing in the XPress dictionary, making me wonder if it’s even possible. Then again, I could have just missed it…

We have a 1-page template that my script will copy, and then display a dialog asking the user “how many pages they need in the document” and “what the first page number should be.” Based on that, I create the additional pages. After the pages are created I’d like to set the section start to the answer to the first page number question. But I can figure out the section start thing.

Any help would be greatly appreciated. Thanks…

I haven’t seen anything about that in the Dictionary either, but I would suggest Prefab UI Browser using system events to accomplish the task. Quick example:

activate application "QuarkXPress"
tell application "System Events"
	tell process "QuarkXPress"
		-- GUI Scripting statements:
		click menu item "Section..." of menu "Page" of menu bar item "Page" of menu bar 1
		click checkbox "Section Start" of window "Section"
	end tell
end tell