Hi,
is there a possibility to script PDF exporting in Quark 6. I looked
at the applescript dictionary, but I don´t find anything
Best Regards
Thomas
Hi,
is there a possibility to script PDF exporting in Quark 6. I looked
at the applescript dictionary, but I don´t find anything
Best Regards
Thomas
Thomas:
As far as I know there is not a way to script the PDF Export function. However, you can print your doc to a Post Script file and save it to a folder where Acrobat Distiller can process it into a PDF (if you have Distiller, of course). You can set any print setup parameters you like in the script. An example follows.
tell application “QuarkXPress Passport”
activate
tell print setup of document 1
set printer type to “Generic PDF”
set paper size to “Custom”
set paper width to “4.25"”
set orientation to portrait
set page position to center horizontal
set print spreads to false
set reduce or enlarge to “100%”
set registration marks to centered
end tell
print document 1 PostScript file {path and file name to save .ps file to}
close document 1 saving no
end tell
I am using Quark 6 and I am having trouble getting this to work. It all seems fine except it writes no Postcript file. I tried to the desktop or to path.
for instance:
print document 1 PostScript file {desktop}
produces nothing.
If i try to put a path in place of desktop, I get a syntax error.
print document 1 PostScript file to desktop
works fine and shows the print status window and then no result file.
Could someone help me out with this? Or, is the problem Quark 6? What am I missing here?
Are you giving the .ps file a name or are you just providing the path to the folder to store it? What I mean is, if the .ps file will be called “cheese.ps” and you write:
print document 1 PostScript file {Desktop}
it may cause trouble because you are not giving the file a name as in the case:
print document 1 PostScript file {Macintosh HD:Users:Bob:Desktop:cheese.ps}
I’m not sure if that makes a difference. Try it and if it doesn’t work, try posting you’re script and I’ll try to run it on my Mac and see what happens.
Good luck.