Dashed Lines






This AppleWorks script draws dashes in place of the selected lines. You can vary the length of the dashes.



This is one of 40 scripts in the Enhancement Pack for AppleWorks.


The “Dashed Lines” item is in the Drawing sub-menu of AppleWorks Scripts Menu.

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.


Before: After:

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.

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.

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.

This script is read only. The statement that actually creates the lines is:

make new line at front with properties {start point:{startDashX, startDashY}, end point:{endDashX, endDashY}, pen color:penColor, pen pattern:penPattern, pen width:penWidth}

Please email us any queries about this page.