• 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: 'explode' quark document into pages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'explode' quark document into pages


  • Subject: Re: 'explode' quark document into pages
  • From: Hans Haesler <email@hidden>
  • Date: Thu, 15 Feb 2001 08:57:01 +0100

On Wed, 14 Feb 2001, Doug H. Rowe wrote:

>I want to save a multipage quark document as multiple single page
>documents.

Now, why would you want do that? I can't think of any reason.

Anyway, here is something for getting you started.

First, I'd make -- manually -- a copy of the document,
delete all pages but one, select all boxes and delete them
without forgetting those of the Master Pages. Save this
document and remember the location, close it.

This way you have a document which holds all definitions:
colors, H&Js, style sheets and so on. And you dont have to
worry about page size and margins.

Then run this (adapt the names; here, the one-page document
"demo" sits in the folder "test" of the startup disk).
---
tell application "QuarkXPress 4.11"
tell document 1
set nPage to count of pages
end tell
repeat with i from 1 to nPage
open alias "Macintosh HD:test:demo"
show document 2
copy page i of document 1 to page 1 of document 2
save document 2 in "Macintosh HD:test:demo" & i
close document 2
end repeat
end tell
---
This script works with facing or non-facing pages.
But don't run it, unless you have closed all documents but
the one you want to split up.

Regards,

Hans

---
Hans Haesler | email@hidden


References: 
 >'explode' quark document into pages (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: 'explode' quark document into pages
  • Next by Date: Choose from list change in AS 1.5.5
  • Previous by thread: 'explode' quark document into pages
  • Next by thread: Re: 'explode' quark document into pages
  • Index(es):
    • Date
    • Thread