• 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: Pantone Colours in Xpress 4.11 (Simple for someone who knows...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pantone Colours in Xpress 4.11 (Simple for someone who knows...)


  • Subject: Re: Pantone Colours in Xpress 4.11 (Simple for someone who knows...)
  • From: Hans Haesler <email@hidden>
  • Date: Thu, 25 Apr 2002 20:13:39 +0200

On Thu, 25 Apr 2002, email@hidden wrote:

>All I can successfully produce is "Red", "Blue" and "Can't make some data
>into expected type" when I pass Xpress "485CV" and other stuff in my
>script...

Steve,

the string of the name of the color must correspond exactly to the
one you see in the Colors palette or the one which is visible in
the Edit color dialog.
---
tell document 1 of application "QuarkXPress 4.11"
activate
tell current box
tell paragraph 1
set color of text from character 1 to character 5 to "PANTONE 485 CV"
end tell
end tell
end tell
---
If you don't have edited the name, then this snippet should work.

If you have shortened the name to "485CV" then you must use this
name in your script.

If this doesn't work, then check in the Edit color dialog if the name
doesn't have a trailing space (or a leading one, or a space between
"485" and "CV"...).

---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Relative paths
  • Next by Date: ImageReady 2.0
  • Previous by thread: Re: script object again
  • Next by thread: ImageReady 2.0
  • Index(es):
    • Date
    • Thread