Quark 7 Close Saving Yes query...

Hi there,

I’ve been having problems with this one, does anyone know the correct syntax for ‘Close saving yes’ in Quark 7?

Thanks in advance,

Nick

If the file has already been saved then this should work for you.

tell application "QuarkXPress"
	set theDoc to the front document
	set thePath to the file path of theDoc
	set thePath to thePath as string
	close front document saving in thePath
end tell

Thanks for your reply Bebout and for the code.
After some further playing around I was able to achieve what I wanted.
I’d been trying to find a way of saving a Q4 doc from Q7 without encountering dialogs.

Thanks again. :slight_smile:

Regards,

Nick