Re: Does Quark 3.32 support Program Linking
Re: Does Quark 3.32 support Program Linking
- Subject: Re: Does Quark 3.32 support Program Linking
- From: Michael Turner <email@hidden>
- Date: Tue, 10 Jul 2001 15:07:54 -0400
I am attempting to create a PS output dropplet. Here is my first attempt,
which dies on "open CurrentFile". I cant figure out why. The error code
reported is "32767". Can anyone let me know what is wrong?
/Michael
copy {alias "Kira:Desktop Folder:test1", alias "Kira:Desktop Folder:test2"}
to docList
--on open (docList) -- program intended to be dropplet eventually
repeat with CurrentFile in docList
tell application "QuarkXPress 4.1"
open CurrentFile use doc prefs yes
-- script dies here
tell document 1
set document 1's print setup to -- next line
{orientation:portrait, page position:centered, page
sequence:all pages, paper size:"11x17", paper width:"48p", print colors as
grays:false, print quality:normal, print spreads:false, print
thumbnails:false, printer type:"Color General PPD", registration marks:off,
resolution:300, separation:false, tiling:off}
try
print PostScript file (CurrentFile as string) & ".ps"
on error
display dialog "Error Printing"
end try
end tell
end tell
end repeat
--end open