in

Quark Forums

Script and XT

Last post 10-30-2009 11:20 AM by Scripting_Ace. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • 10-22-2009 8:36 AM

    Script and XT

    \
  • 10-22-2009 8:53 AM In reply to

    Re: Script and XT

     Does this Xtension come with a UI, do you need to have acces to it?

     If not, its a somple case of calling the appropriate shortcut menu vis AppleScript. (If there isn't one for your XT, just set one up in keboard shortcuts prefs).

    If you do need access to the UI then you have to check if it is compatible with UI Scripting.

    That said, there is porbably a way to do what you wish without using the XT.

     

    HTH 

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

  • 10-22-2009 9:15 AM In reply to

    Re: Script and XT

    \
  • 10-22-2009 9:37 AM In reply to

    Re: Script and XT

     Ok, but you still need access to the "Rename, Relink & Save Document..." button.

     

    Like I said, this could all be done witrh AppleScript alone...

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

  • 10-22-2009 9:55 AM In reply to

    Re: Script and XT

    \
  • 10-24-2009 6:11 PM In reply to

    Re: Script and XT

    \
  • 10-26-2009 10:16 AM In reply to

    Re: Script and XT

     It is very hard to target a specific picture box unles it has a specific (and unique) property (name, color, location, frame, contents, etc.)

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

  • 10-26-2009 3:02 PM In reply to

    Re: Script and XT

    \
  • 10-27-2009 10:14 AM In reply to

    Re: Script and XT

     Unfortunately, boxes on Master Spread cannot be targetted according to set properties. However, the following script will do what you want on all pages that of you document that has the mentioned Mastre applied to it.

     

    001   tell application "QuarkXPress Passport 7.x"
    002      set docName to name of document 1
       
    003      tell document docName
    004         set PageList to page number of every page whose master spread is "B-Master B"
    005         repeat with p in PageList
    006            tell page p
    007               set box type of (every picture box whose shade is 10 and color is "black") to graphic box type
    008            end tell
    009         end repeat
    010      end tell
       
    011   end tell

    Notes: • The line numbers included with this script are there to aid future discussions. In order to use this script, you will have to strip all of them.

     

    HTH

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

  • 10-27-2009 12:35 PM In reply to

    Re: Script and XT

    \
  • 10-29-2009 9:19 AM In reply to

    Re: Script and XT

     I am sorry to say but scripting Master Pages in Quark has always been a tricky affair

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

  • 10-29-2009 8:18 PM In reply to

    Re: Script and XT

    \
  • 10-30-2009 11:20 AM In reply to

    Re: Script and XT

     Don't know why you take this attitude...

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

Page 1 of 1 (13 items)
Powered by Community Server (Commercial Edition), by Telligent Systems