• 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: Does Quark 3.32 support Program Linking (that's Printing PS files)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does Quark 3.32 support Program Linking (that's Printing PS files)


  • Subject: Re: Does Quark 3.32 support Program Linking (that's Printing PS files)
  • From: JJ <email@hidden>
  • Date: Wed, 11 Jul 2001 12:27:33 +0200

> 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
No, it doesn't.
> tell document 1
You don't need "tell document 1"
> set document 1's print setup to -- next line
because you are telling it here above.
So, script dies here:
"can't set print setup of document 1 of document 1 to..."
Re-write:
set print setup to --your settings
> {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

Done!

JJ


  • Follow-Ups:
    • (Note about: that's Printing PS files) [Quark]
      • From: Michael Turner <email@hidden>
  • Prev by Date: Re: Appleworks crashes SE
  • Next by Date: AppleScript and OS X server
  • Previous by thread: Searchable archives
  • Next by thread: (Note about: that's Printing PS files) [Quark]
  • Index(es):
    • Date
    • Thread