in

Quark Forums

How to set a page name

Last post 08-04-2009 11:04 AM by brianahebert. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-12-2009 10:55 PM

    • Sankar
    • Top 150 Contributor
    • Joined on 05-06-2008
    • India
    • Posts 86

    How to set a page name

    Dear All,

    i can get page name using below script

    tell application "QuarkXPress Passport"
    --set masterlist to name of every page of document 1
    --set name of page 1 of document 1 to "h"
    get name of page 1 of document 1
    --get properties of page 1 of document 1
    end tell

    Please help me to set the page name as per my need as 1 or 2(QuarkXPress 6.52)

    Regards,
    Sankar L
  • 07-13-2009 12:55 AM In reply to

    • Emma
    • Top 10 Contributor
    • Joined on 07-07-2004
    • Leeds, UK
    • Posts 1,184

    Re: How to set a page name

    Have a look at the dictionary - I think you'll find page name is read only. You can't set it.
    It is really the same as the page number, but the number is a number, the name is a text string (probably, or one of those strange things that needs a lot of coercion!)
  • 07-13-2009 2:49 AM In reply to

    Re: How to set a page name

    I think the only instances where your pages could have names other than the document numbering is if you have 'sections' that have prefixes and/or other formatting… There is no access to using sections via scripting other than ugly GUI stuff.
  • 07-13-2009 7:53 AM In reply to

    Re: How to set a page name

     Actually, just to clarify things:

    Page names (from an ApplesScript POV) are the actual page number as they appear in the Document Layout palette.

    Page Numbers (from an ApplesScript POV) are the position of those pages within the document.

    Remember not all Quark documents need to start on page 1 (the name) but every Quark document has a page 1 (the number).

    That said, naming pages is not available through AppleScript at this time.

     

    HTH

    Michel Lemieux
    Click here --> to visit my PUBLISHING & SCRIPTING FORUM

  • 08-04-2009 11:04 AM In reply to

    Re: How to set a page name

    I was able to accomplish this with the scripting addition Extra Suites
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems