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

Re: Delete Color from Quark


  • Subject: Re: Delete Color from Quark
  • From: "Vince Jelenic" <email@hidden>
  • Date: Thu, 25 Jan 2001 20:10:07 -0500

>From: John LaBree <email@hidden>
>
>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?
>
try this.
create a doc in quark, create a color named "junk"

then run this script. -- modify to suit

tell application "QuarkXPress"
set x to {}
tell document 1
repeat with i from 1 to count of color spec
set x to x & name of color spec i
end repeat
repeat with i from 1 to number of items in x
if item i of x is "junk" then delete color spec i
end repeat
end tell
end tell

seems you can only delete color specs by index now ??


------ Vince Jelenic says:
"The only way to really ensure server security is to lock it in a sealed
room with the power off."


  • Prev by Date: re: Unmount network volume
  • Next by Date: Re: Xpress 4.1 and group box type
  • Previous by thread: Delete Color from Quark
  • Next by thread: Cascading Probs-Bug in RA Status Info With 9.1
  • Index(es):
    • Date
    • Thread