Hi all, executing the following code fails on Tiger 4.1, Xpress 6.x:
#!/usr/bin/pythonw from appscript import * qxp = app('QuarkXPress') qxp.documents[1].print_() Xpress will quit unexpectedly. Console: Command: QuarkXPress Path: /Applications/QuarkXPress 6.1/QuarkXPress.app/Contents/MacOS/ QuarkXPress Parent: WindowServer [62] Version: QuarkXPress version 6.1 (6.0) PID: 256 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x54dc1838 This is not an AppScript problem! The AppleScript code fails as well: tell application "QuarkXPress" tell document 1 print end tell end tell There was no problem using the code with Panther 3.9 and XPress 6.x Peter ----------------------------------- Opix AG Peter Waibel [EMAIL PROTECTED] ----------------------------------- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig