• 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: Change Quark?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Quark?


  • Subject: Re: Change Quark?
  • From: Stan Cleveland <email@hidden>
  • Date: Thu, 31 Aug 2006 14:07:38 -0700
  • Thread-topic: Change Quark?

On 8/31/06 6:22 AM, Simon, Garry wrote:
>
> Does anyone know if it's possible to use a script to modify a clipping path
> type in a QuarkXpress 6.5 document? Specifically, I would like to change
> clipping from "Embedded Path" to "Item".

This came up where I work back in the days of Quark 3 or 4. The application
dictionary didn't help, so a coworker and fellow scripter, Cory Zimmerman,
and I spent a couple of hours trying every variation of syntax we could
imagine.

Cory finally stumbled upon the right command which, amazingly, ever worked
at all and, more amazingly, still works in QuarkXPress 6.5! I'm sure others
have figured this one out, but I've not seen it appear anywhere.

Here's the code:

    tell application "QuarkXPress"
        tell page 1 of document 1
            tell image 1 of picture box 1
                delete clipping path 1
                -- or
                delete clipping paths
            end tell
        end tell
    end tell

Stan C.
--
Knowledge is power. Ignorance is bliss. What a difficult choice!


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Change Quark? (From: "Simon, Garry" <email@hidden>)

  • Prev by Date: Re: Dialog from script application displays raw codes
  • Next by Date: Is it possible to undelete files from Linux EXT3?
  • Previous by thread: Change Quark?
  • Next by thread: Illustrator
  • Index(es):
    • Date
    • Thread