Re: Frame in Quark
Re: Frame in Quark
- Subject: Re: Frame in Quark
- From: email@hidden
- Date: Tue, 5 Mar 2002 21:18:03 EST
In a message dated 3/5/02 4:30:33 PM, Greg Wooten writes:
>
I would like to know if there is anyway to script Quark to create a text
>
box with a 50% dotted frame, and what the syntax would be? Thanks in advance.
Greg:
A quick way to learn how to make things in Quark is to draw the thing the
old-fashioned way and then run this script:
tell application "QuarkXPress" to get properties of current box
The result is an AppleScript record of all of the properties of the thing you
drew. You can then use that information to write a script to recreate the
thing. It might look like this:
tell application "QuarkXPress"
tell current page
make new text box at beginning with properties
--starting single line
{bounds:{"0p", "0p", "22p11.4", "28p2"},
frame:{color:"Black", gap color:"Black", gap shade:"50%",
shade:"100%", style:dotted line, width:"12 pt"}}
--ending single line
end tell
end tell
When you "get properties," you extract a lot more information than you really
need. Just experiment by adding it to your "make box" script a bit at a time
to get an idea of what's needed.
You also might want to look at the AppleScript forum on Quark's web site.
Hope this helps,
Robert Kyle
Star Tribune
Minneapolis
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.