02.12.2012 20:46:00 • Categories: Applescript, QuarkXPress • Tags: Applescript, Quarkxpress
AppleScript: make new character spec in quarkxpress
(* qxp_characterspec_01.applescriptCreates a new text box
Properties are for example. *)
tell application "QuarkXPress Passport" tell document 1 if not (exists character spec "10_Hotelname") then make new character spec at beginning with properties {class:character spec, base style:null, key character:"", language:3, font:"TheSans B7 Bold", name:"10_Hotelname", shade:"60%", size:"12 pt", color:color spec "Schwarz"} end if end tell end tell