Quark scripting again
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 |
_______________________________________________
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