|
Dashed Lines |
|
2000.09.14 |
http://www.barefeetware.com/appleworks/dashed_lines/ |
|
Description |
This AppleWorks script draws dashes in place of the selected lines. You can vary the length of the dashes. |
|
Enhancement |
This is one of 40 scripts in the Enhancement Pack for AppleWorks. |
|
Detail
The Dashed Lines item is in the Drawing sub-menu of AppleWorks Scripts Menu.Sample
When activated, this script replaces each selected lines and rectangles in the front document, with a series of short lines (dashes). You can choose the length (in pixels) of the dashes.
The typical method used in AppleWorks to make lines dashed has been to apply pen patterns. This script, however, has advantages such as equal length dashes in any direction, consistent termination, and unaffected line thickness.
Dashed Lines currently only operates on lines and rectangles. Arrow heads are currently ignored. A future version of this script may also operate on other objects such as ovals.Requirements
The main limitation in AppleWorks 6 is the inability to group the created dashes.
Operates on the lines and rectangles in the selection, in the drawing area of a document.Download
This script works with AppleWorks 6 and AppleWorks 5.
Only registered users are permitted to use the supplied files after 14 days or edit them.
This script is included in the Enhancement Pack for AppleWorks, not supplied separately.Scripting
This script is read only. The statement that actually creates the lines is:Please email us any queries about this page.
make new line at front with properties {start point:{startDashX, startDashY}, end point:{endDashX, endDashY}, pen color:penColor, pen pattern:penPattern, pen width:penWidth}