Re: Using AppleScript, how to save Quark XPress documents as pdf files under Classic ?
Re: Using AppleScript, how to save Quark XPress documents as pdf files under Classic ?
- Subject: Re: Using AppleScript, how to save Quark XPress documents as pdf files under Classic ?
- From: Peter Waibel <email@hidden>
- Date: Tue, 19 Jul 2005 12:23:12 +0200
Hi,
this code fails using Tiger 4.1 and XPress 6.x:
-------
tell application "QuarkXPress"
tell document 1
print
end tell
end tell
-------
XPress will quit unexpectedly!
---------
Console:
Command: QuarkXPress
Path: /Applications/QuarkXPress 6.1/QuarkXPress Passport.app/
Contents/MacOS/QuarkXPress
Parent: WindowServer [91]
Version: QuarkXPress version 6.1 (6.0)
PID: 421
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x54dc1838
----------
The same code executes without any problem using Panther 3.9 and
XPress 6.x!
There are some workarounds with UI Scripting
http://www.quark.com/service/forums/viewtopic.php?t=8016
http://www.dtpro.de/phpBB2/viewtopic.php?p=5475#5475
None of them is a complete replace for the print command.
Cheers
Peter
Am 19.07.2005 um 08:44 schrieb Jacques Ravanat:
Le 18 juil. 05 à 07:32, Kumar Shailove a écrit :
This feature is not yet supported.
Thanks for this information. But ...
First you have to save a ps file and then convert it into pdf.
I did exactly this
Tell application "QuarkXPress"
Print document 1 postscript file "MacHD:abc.ps"
End tell
But the script hangs up without doing anything, and quits after
time-out.
Any special ingredient, or AS magic formula missing ?
Jacques Ravanat
-----Original Message-----
From: applescript-users-bounces+kshailove=email@hidden
[mailto:applescript-users-bounces
+kshailove=email@hidden]
On Behalf Of Jacques Ravanat
Sent: Sunday, July 17, 2005 4:07 AM
To: AppleScript-Users
Subject: Using AppleScript,how to save Quark XPress documents as pdf
files under Classic ?
Hi,
What is the exact AppleScript syntax under Mac OS X (10.3.9 or
10.4.2) to save a multi pages Quark XPress document as a pdf file,
when XPress (version 5.0) in running under Classic ?
Thanks for your help.
Jacques Ravanat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40opix.de
This email sent to email@hidden
Grüße aus Berlin
Peter Waibel
-----------------------------------
Opix AG
Peter Waibel
Am Borsigturm 46
13357 Berlin
Fon: +49 30 4303 4421
Fax: +49 30 4303 4409
email@hidden
email@hidden
email@hidden
http://www.opix.de
-----------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden