• 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
Re: HELP! still having problems Saving Quark to EPS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HELP! still having problems Saving Quark to EPS


  • Subject: Re: HELP! still having problems Saving Quark to EPS
  • From: JJ <email@hidden>
  • Date: Wed, 28 Mar 2001 09:22:08 +0200

> Here is the script I am working on
> With this, I am trying to get a Postscript file (which works) then an EPS
> File (which doesn't) with the EPS Line, I am now getting an Access Not
> Allowed Execution Error. My whole goal is to be able to run this script and
> not be here to "OK the alert I get- telling me there is binary data, when I
> simply save as "EPSF" (which works)
>
>
tell application "QuarkXPress Passport 4.11"
activate
repeat -- WHY DO YOU REPEAT THIS?
with timeout of 5000 seconds
tell document 1
repeat with i from 1 to count of pages
tell print setup
set registration marks to off
(*YOU HAVEN'T TO "set registration marks to off"
WITH EVERY PAGE*)
end tell

print page i PostScript file "Colby'sg 4/533:desktop
folder:wherepsgoes:In:" & name & ".ps"

save page i EPS format Mac black and white ,
EPS data binary EPS ,
in file "Colby's g4/533:desktop
folder:wherepsgoes:eps:"
(*AND YOU SHOULD TELL "APP QUARK" TO SAVE AS EPS, NOT TO
"DOCUMENT 1 OF APP QUARK"*)
end repeat
end tell
end timeout
close document 1 saving no
end repeat
end tell

This version works fine for me:

_________SCRIPT__________
tell application "QuarkXPress Passport 4.11"
activate
tell document 1 to tell print setup to set registration marks to off
repeat with i from 1 to count of pages of document 1
print page i of document 1 PostScript file (destination_path &
doc_name)
save page i of document 1 EPS format Mac black and white EPS data
binary EPS in (destination_path & doc_name & "*" & "Page" & i)
end repeat
close document 1 saving no
end tell
END -

This would be good enough!

JJ


  • Prev by Date: Re: new applescript book
  • Next by Date: Re: Scripting QT to change size of a movie
  • Previous by thread: HELP! still having problems Saving Quark to EPS
  • Next by thread: Filemaker Pro scripting?
  • Index(es):
    • Date
    • Thread