AppleScript: make new color spec in quarkxpress

(*
qxp_colorspec_01.applescript

Creates 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

 

Schreibe einen Kommentar