Adding a frame to a text box

Discuss AppleScripting for QuarkXPress 10, 9 & 8 (and before)
Post Reply
MicDag
Posts: 0
Joined: 07 Dec 2008, 20:11

Adding a frame to a text box

Post by MicDag » 14 Nov 2012, 18:44

I'll give myself a dope slap when someone replies, but I can't seem to find the proper way to make a text box and add a 1pt black frame around it.
This works up until the frame inside...

tell application "QuarkXPress"
tell document 1
tell page 1 of document 1
make text box at beginning with properties
{name:"Filler", bounds:{"0.556\"", "6.208\"", "5.32\"", "7.81\""}, location lock:true, delete lock:true, color:"none", frame inside:"true"}
end tell
end tell
end tell

Premature post. Figured it out:
tell application "QuarkXPress"
tell document 1
make text box at beginning with properties
{name:"Filler", bounds:{"0.556\"", "6.208\"", "5.32\"", "7.81\""}, frame:{style:solid line, width:"0.5 pt"}, location lock:true, delete lock:true, color:"None"}
end tell
end tell

Jean-Marie Schwartz
Posts: 1174
Joined: 23 Nov 2004, 04:30

Adding a frame to a text box

Post by Jean-Marie Schwartz » 18 Nov 2012, 22:58

tell application "QuarkXPress9311"
tell document 1
tell page 1
make new text box at beginning with properties {name:"Filler", bounds:{"0.556\"", "6.208\"", "5.32\"", "7.81\""}, frame:{color:"Black", style:solid, width:"1pt"}}
end tell
end tell
end tell

Post Reply

Return to “QuarkXPress 8, 9 & 10: AppleScript”