• 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
Quark scripting again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark scripting again


  • Subject: Quark scripting again
  • From: James Weisbin <email@hidden>
  • Date: Tue, 14 Mar 2006 15:50:21 -0500

Thanks to all for help with this. I've got it working with one last problem to solve. If I try to set the color of text to a color which I've previously defined in the Quark document (manually), eg "PANTONE 430 C", the script works. However, properties reports back the color "Black" for some reason. But If the color hasn't been defined, I get an error. Is there any way to script the creation of a custom color?

tell application "QuarkXPress Passport"
activate
tell front document
tell page 1
tell text box 1
set properties of story 1 to {base shift:"0 pt", font:"Arial", horizontal scale:"100%", shade:"100%", size:"8 pt", color:"PANTONE 430 C", style:{class:text style info, on styles:{bold}}}
return properties
end tell
end tell
end tell
end tel


Jim Weisbin
human
138 5th avenue. 3rd floor, nyc, ny 10011
telephone 212 352 0211
facsimile  212 352 0210
<email@hidden>
http://www.humanworldwide.com


 _______________________________________________
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

  • Follow-Ups:
    • Re: Quark scripting again
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: How far back?
  • Next by Date: Re: How far back?
  • Previous by thread: Re: How far back?
  • Next by thread: Re: Quark scripting again
  • Index(es):
    • Date
    • Thread