Mac OS, 10.3.9, AppleScript 1.9.3\Script Editor 2.0 (v43)
Client wants to convert previous Quark docs to Quark 6. I was easily able to change the file type to “XPRJ.” Client does not like this approach; insists he needs the script to open a found file, then save it to the same folder as version 6.
I have a core that roots thru a master folder and all subfolders.
set myFiles to files of (entire contents of folder chosenFolder) whose file type = “XDOC”
This selects only Quark files (if there is a better way, kindly let me know; sometimes AppleScript issues “can’t make some data into expected type”).
The next bit does the work; even with “doc prefs yes,” splash screen still comes up for some files
repeat with theItem in myFiles
tell application “QuarkXPress”
open theItem use doc prefs yes remap fonts no do auto picture import no
I manage to open files. I cannot close with save. I have tried
close front window saving yes
close open doc
Almost there (sort of). Suggestions, anyone?