Applescripting classic applications

I have OS X on my computer, but I’m hoping to script something in OS 9 with QuarkXPress. I try just opening the application by the script times out. Is there anything I need to do to make this work? Thanks for any help.

whoops, it timed out because a dialog box comes up. The window asks if I want to use preferences or keep document settings. As there any way to just choose to keep document settings?

I’ve never scripted Quark, but in looking at the dictionary pdf I downloaded from macscripter.com, it looks like you should check out the ‘use doc prefs’ parameter of the ‘open’ command. Maybe this will work:

open eachFile use doc prefs no

You almost always want to use the preferences saved with the document as well as suppress font replacements and picture re-importing so use something like this when opening a QXP document:

Jon


[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]