• 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
Delete Color from Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delete Color from Quark


  • Subject: Delete Color from Quark
  • From: John LaBree <email@hidden>
  • Date: Thu, 25 Jan 2001 17:40:10 -0500

I am trying to put together a script that will replace certain specific
colors in a Quark 4.04 document with other specific colors. I can create new
colors in Quark well enough, but I am having no luck at deleting colors. Can
anyone out there start me in the right direction?

Here is what I have so far:

set DeadName to "zColorBlue"
tell document 1 of application "QuarkXPress(tm)"
set SpecList to (get name of every color spec)
if DeadName is in SpecList then
delete color spec DeadName
else
display dialog "The color" & " " & "\"" & DeadName & "\"" & " " &
"is,
not in this Doc's Color Table."
end if
end tell

What seems to be happening is that zColorBlue is being deleted, however
Quark is erroring out. The following is from the Event Log:

tell application "QuarkXPress(tm)"
get name of every color spec of document 1
delete color spec "zColorBlue" of document 1
--> QuarkXPress(tm) got an error: Read-only property cannot be
changed.

I am completely lost as to where the error is coming from. Does anyone out
there have any suggestions?

TIA,

John LaBree
Imaging Center Manager
G.Neil Direct Mail, Inc.


  • Prev by Date: Using PhotoScripter and Photoshop to save a JPEG file
  • Next by Date: Cascading Probs-Bug in RA Status Info With 9.1
  • Previous by thread: Using PhotoScripter and Photoshop to save a JPEG file
  • Next by thread: Re: Delete Color from Quark
  • Index(es):
    • Date
    • Thread