Re: InDesign Text Frames and Stroke
Re: InDesign Text Frames and Stroke
- Subject: Re: InDesign Text Frames and Stroke
- From: Ron Bishop <email@hidden>
- Date: Mon, 29 Jul 2002 09:03:17 -0500
I didn't know it defaulted to "None"
This works for me-
tell application "InDesign 2.0"
activate
set myDocument to make document
tell myDocument
set horizontal measurement units of view preferences to inches
set vertical measurement units of view preferences to inches
tell page 1
set myTextFrame to make text frame with properties
{geometric bounds:{2, 2, 4, 5}, stroke color:swatch "Black" of
myDocument, stroke weight:7, contents:"Does this work?"}
end tell
end tell
end tell
I didn't know that....till now. This list serv rocks.
Thanks,
Ron Bishop
www.daddydoodaa.com
On Sunday, July 28, 2002, at 09:02 PM, Shane Stanley wrote:
On 29/7/02 11:33 AM +1000, Peter Kahn, email@hidden, wrote:
Why does the following not generate a stoke around my text box?
tell application "InDesign 2.0"
make document
tell spread 1 of document 1
make text frame
tell text frame 1
set visible bounds to {2, 2, 4, 5}
set stroke weight to 7
end tell
end tell
end tell
If I write the same script with a rectangle it works fine.
Any help would be greatly appreciated.
Make sure you're setting the stroke color to something other than
"None".
--
Shane Stanley, email@hidden
_______________________________________________
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.