02.12.2012 20:44:00 • Categories: Applescript, QuarkXPress • Tags: Applescript, Quarkxpress
AppleScript: make new color spec in quarkxpress
(* qxp_colorspec_01.applescriptCreates a new colorspec
Properties are for example. For more details see the dictionary. *)
tell application "QuarkXPress Passport" tell document 1 if not (exists color spec "0/60/100/0") then make new color spec at beginning with properties {class:color spec, color type:CMYK type, angle:"45", CMYK color value:{0, 39321, 65535, 0}, name:"0/60/100/0", separation:true} end if end tell end tell