• 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: Quark - modify the master spread or screen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark - modify the master spread or screen?


  • Subject: Re: Quark - modify the master spread or screen?
  • From: Hans Haesler <email@hidden>
  • Date: Tue, 13 Mar 2001 13:37:59 +0100

On Tue, 13 Mar 2001, Doug H. Rowe wrote:

>(...) I am having some problems with master pages - and spreads (...)
>(...) it just imposes the wrong or Null master spread (...)

Doug,

this should not happen when you make a copy of the document to split,
delete all pages but one and delete every object on this page.

Note: it is not necessary to use the 'Odd' and 'Even' Masters. Use only
one and save it as a template.


>(...) the folios normally show up on the right side (where the even pages
>should be on the left).

There is only one thing to be done: change the Section start. To do this
you need the help of QuicKeys or of an OSAX. I use "Sandi's Additions".
2 conditions: XPress must be the active application and the document
must be in the foreground. That's the reason for changing the copy from
"document 1 to document 2" to "document 2 to document 1". The original
document stays in the background.

The following script works with a simple test document (with facing pages).
---
tell application "QuarkXPress 4.11"
activate
tell document 1
set nPage to count of pages
end tell
if nPage = 0 then -- no open document
display dialog "Need to have the document to be
split up open in Quark!" buttons "OK" default button 1 with icon 2
error number -128
end if
if (exists document 2) then -- too many open docs!
display dialog "You have too many documents open!

Open, in Quark, only the document
to be split up!" buttons "OK" default button 1 with icon 0
error number -128
end if
repeat with i from 1 to nPage
open alias "Server5W:Desktop Folder:JAN:Pages:Jan Masters:JAN Even"
--set the variable 'pageNumber' to the number of the current page
set pageNumber to name of page i of document 2
--copy the page
copy page i of document 2 to page 1 of document 1
--open the 'Section start' window
select menu item 6 of menu 6
--enable the check box
MouseClick At {16, 16} with LocalCoordinates
--enter a tab (to skip the prefix field) and
--the page number and a return to close the window
TypeText tab & pageNumber & return
if i < 10 then
--since the 'Master' is a template you must add 'without template'
--in order to avoid a dialog when closing the document
save document 2 in "Server5W:Desktop Folder:JAN:Pages:JAN_B0" & i without template
else
save document 2 in "Server5W:Desktop Folder:JAN:Pages:JAN_B" & i without template
end if
close document 1
end repeat
end tell
---
This works, here, using QXP 4.11 and Mac OS 8.6

---
Hans Haesler | email@hidden


References: 
 >Quark - modify the master spread or screen? (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: detect launch of file?
  • Next by Date: Re: Can anyone explain Word behavior???
  • Previous by thread: Quark - modify the master spread or screen?
  • Next by thread: Re: Quark - modify the master spread or screen?
  • Index(es):
    • Date
    • Thread