issue at the border
Rick Gaskin
rgaskin at wdt.net
Tue Feb 12 12:06:53 CST 2008
a script!!! sigh...now i will have to think..no fair!!
Steve Mills wrote:
> On Feb 12, 2008, at 10:54:46, Rick Gaskin wrote:
>
>> Yep, we do that for one off but this border is going to be used with
>> greater frequency and I need a better and quicker method than fudging.
>
>
> You could use a script to create your 2-rect border for you. And if
> you use the "bounds dragging tool" (available via scripting), then you
> can still drag it out to the size you need. Below is a sample of how
> you'd go about it. You'll have to play with the radii given to both
> rectangles to make it look the way you want. You could even use math
> to calculate the radius of the inner rect's corners given the amount
> of inset applied to box. You should also make sure that box doesn't
> turn inside out in either dimension after applying the inset.
>
> tell application "MultiAd Creator Pro"
> switch to bounds dragging tool callback script me
> end tell
>
> using terms from application "MultiAd Creator Pro"
> on tool dragged wind to bounds box with message msg
> set sp to current spread of wind
> make new rectangle element at beginning of sp with properties
> {bounds:box, all corner styles:rounded corner, all corner
> radii:{x:20.0, y:20.0}, frame options:{type:dash, segments:{5.0, 5.0}}}
> set top of box to (top of box) + 10
> set left of box to (left of box) + 10
> set bottom of box to (bottom of box) - 10
> set right of box to (right of box) - 10
> make new rectangle element at beginning of element 1 of sp
> with properties {bounds:box, all corner styles:rounded corner, all
> corner radii:{x:10.0, y:10.0}, frame options:{type:dash,
> segments:{5.0, 5.0}}}
> end tool dragged
> end using terms from
>
> _________________________________________________________
> Steve Mills Me: 952-401-6255
> Senior Software Architect MultiAd
> smills at multiad.com www.multi-ad.com
>
>
> _______________________________________________
> Creator mailing list
> Creator at wacondatrader.com
> http://wacondatrader.com/mailman/listinfo/creator
>
> To officially report a bug in Creator, go here:
> http://www.creatorsoftware.com/support/contact_us/report_a_problem/
>
> Searchable Archive: http://feick.webhop.net/lists/html/creatorlist/
>
> Multi-Ad's Creator website can be found at:
> http://www.creatorsoftware.com
>
>
--
CONFIDENTIALITY NOTICE: This message may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
More information about the Creator
mailing list