Saving document QuarkXpress 6.5

Hello,

I would like to someone for help. I wrote Apple script (just for saving opened document) for QuarkXpress 4.x and also for version 7.x, but I am not able to get it to work with version 6.5:

In 4.x works following:

tell application “Quark XPress”
set filepath to “Macintosh HD:users:user:Desktop:file.qxd”
save document 1 in filepath without template
close document 1 saving no
end tell

In 7.x works following:

tell application “Quark XPress”
set filepath to “Macintosh HD:users:user:Desktop:file.qxd”
set filepath to (filepath)
save document 1 in filepath without template
close document 1 saving no
end tell

Unfortunately both scripts not working in version 6.5. Thanks anyone for help.

not sure why your script didtn’ work but heres how I would complete this task



set workpath to ("" & (path to current user folder) & "Desktop:")
tell application "QuarkXPress"
	activate
	set filepath to workpath & "file.qxp"
	save document 1 in filepath without template
	close document 1 saving no
end tell