• 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: left or right page in quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: left or right page in quark


  • Subject: Re: left or right page in quark
  • From: dialup <email@hidden>
  • Date: Mon, 17 Mar 2003 09:22:36 -0600 (CST)

Hi Brendan,

As long as you haven't changed the 'rule origin' you could look at the
bounds of the spread (if it only contains 1 page). Hopefully this example
will give you some ideas.
Jay

--------------------------------
tell application "QuarkXPress 4.11"

activate

tell document 1

repeat with x from 1 to (count spreads)

if (number of pages of spread x) < 2 then

set Bnds to (((spread x's pages's bounds) as list)'s item 4) as string

set Pg to spread x's pages's page number

if Bnds is "17\"" then

display dialog "page " & Pg & " is on the left."

else if Bnds is "25.5\"" then

display dialog "page " & Pg & " is on the right."

end if

end if

end repeat

end tell

end tell
--------------------------------



> i need to have a script work out if a page is left of the spread or
> right in quarkxpress. I found a script that did this but it worked out
> if a page was odd or even, which doesn't help if you have all left hand
> or all right pages.
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users Do not
> post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >left or right page in quark (From: Brendan Wilde <email@hidden>)

  • Prev by Date: Re: "cd " and "tail -f" on a file
  • Next by Date: Re: Getting battery state?
  • Previous by thread: left or right page in quark
  • Next by thread: Destination folder of DPM
  • Index(es):
    • Date
    • Thread