Can anyone help I am using Quark 5 when I do this save it saves it as version 5. I need to save it as version 4. Otherwise the systems using quark 4 can not open up the document. So when it saves it needs to save in version 4.
tell application 'Quark"
close document 1 saving yes saving in filepath--close, saving in the file you built using the clipboard contents
end tell
Nope that doesn’t seem to work. I tried a document that was originally saved out in 4 and then opened it up and ran it through the code it still ended up saving it in version 5 and then I was unable to open it up in quark 4. It opens up fine in quark 5
I have QXP 4.11 and 5.01 installed on my machine but I only boot into OS X and 5.01 doesn’t work in Classic for me so you forced me to reboot into 9.2.1 to test it…
The code above does indeed work in QXP 5.01. I created a new document in 5.01 and saved it as a version 5 document manually. Then I ran the script (setting filePath to (((path to desktop) as string) & “test”) as file specification). No errors. I then quit 5.01, launched 4.11 and the “test” document opened in 4.11 without any problems whatsoever.
Some things to consider: are there XTensions or extensions that are loaded on your system that may be causing problems? Are you using 5.x specific functions that can’t be read in 4.11 (tables, etc.)? Do you have the latest versions of 5 (5.01) and 4 (4.11)?