Quark EPSing Question
Quark EPSing Question
- Subject: Quark EPSing Question
- From: Eric Schult <email@hidden>
- Date: Wed, 16 Jan 2002 07:23:56 -0600
Any of you Quark scripters know how come I can script the EPSing of a Quark
document as mac binary, but the same syntax for PC ascii won't work? I get a
"can't make data into expected type" errors with this?
set epsFormat to "PC, ascii, tiff preview"
-- set epsFormat to "Mac, binary, pict preview"
set blackEPSpath to (path to desktop as string)
set epsName to "test.eps"
tell application "QuarkXPress 4.11"
activate
tell document 1
with timeout of (60 * 10) seconds
if epsFormat = "PC, ascii, tiff preview" then
save page 1 EPS format PC black and white ,
EPS data ASCII data ,
OPI include images in ((blackEPSpath) & ,
epsName) with include preview
else if epsFormat = "Mac, binary, pict preview" then
save page 1 EPS format Mac black and white ,
EPS data binary EPS ,
OPI include images in ((blackEPSpath) & ,
epsName) with include preview
end if
end timeout
end tell
end tell
Outa answers,
WES