• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quark EPSing Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Property Parent : load script (Changing File)???
  • Next by Date: Naming boxes in Quark 4.11
  • Previous by thread: Re: Programming job (was: RE: [rant] Upgrade to 9.2, any advice?)
  • Next by thread: Naming boxes in Quark 4.11
  • Index(es):
    • Date
    • Thread