import word document in QuarkXpress 4.11

Hi all, following question:

i have a script that makes a new quark-document with the necessary textboxes.


set boxPropsL to {bounds:{10, 10, 277, 68}, color:"Blauw"}
set boxPropsM to {bounds:{10, 80, 277, 134}, color:"Rood"}
set boxPropsFoot to {bounds:{277, 10, 287, 200}}
tell application "QuarkXPress Passport™ 4.11 [k]"
	make new document
	tell front document
		make text box at beginning with properties boxPropsL
		make text box at beginning with properties boxPropsM
		make text box at beginning with properties boxPropsFoot
		tell text box 1
			make text at end with properties {contents:"Here should come the footer", style:{on styles:{bold}, off styles:{plain, underline, shadow, superscript, subscript, superior, strikethrough, all caps, small caps, word underline}}}
		end tell
	end tell
end tell

This works but now i want Quark Xpress to show a dialogbox, for choosing/importing a word document. Could anybody give me some hints how to do this?

TIA, fuut

btw: OS9 , QXP 4.11

Use AppleScript’s choose file command to set the path to the word file, you cant choose a file through Quark.


set WordFile to choose file with prompt "Choose a word file to Place."