Short:        Arexx scripts for FinalWriter
Author:       Cary Driscoll (cary.here@att.net)
Uploader:     Cary Driscoll (cary here att net)
Type:         text/fwrit
Replaces:     biz/swood/FW_Scripts.lha
Requires:     AFPL Ghostscript 8.50 for PDF script
Architecture: generic

Convert2PDF.rexx (v1.9)
   Updated version of elal@dds.nl's "Convert_to_PDF.rexx"
   It works with AFPL Ghostscript 8.50 and any page size.
   GS8.50 can be found at http://www.whoosh777.pwp.blueyonder.co.uk/

   More information on how to use the script can be found on Aminet
   in the documentation for the archive util/rexx/Convert_to_PDF.lha

Adjust_VGA.rexx
   Modified version of Jose Manuel Herrero de Aldana's script
   for fixing the aspect of imported PAL images. This version
   adjusts the aspect of images with a 1:1 pixel aspect ratio.

ColorToggle.rexx
   Toggles FW's imported graphics display between color and grey.

PreviewToggle.rexx (v1.1)
   Toggles the display of selected imported graphics between
   crossbox and preview.

ObjectLoad.rexx (v1.4) and ObjectSave.rexx (v1.4)
   Save and load objects created within FinalWriter for later
   use within other documents. The included objects use FW's
   default colors. FW seems to substitute the first defined
   color in its color prefs for any undefined colors in the
   imported objects. If you are exporting a bitmap image, there
   can be a lengthy pause before the save requestor opens because
   the image first has to be copied to the clipboard.


----------------------------------------------------------------

Frame2Blocks.rexx (v1.4) - Requires FW 97

   Converts the selected text frame (and all connected frames)
   into a collection of grouped text blocks which can then be
   rotated. It only produces left-justified text and takes its
   text attributes for each line from the first character in
   each line. This script does not work with hyphenated text.
   You should have your text set to the size you wish the final
   rotatable text to be. Scaling the grouped text block objects
   causes the blocks to shift out of alignment with one another.



Text2Blocks.rexx (v1.4) - Should work with at least some pre-97
   versions of Final Writer, but not tested with any version other
   than 97.

   Same limitations as Frame2Blocks.rexx except it will work with
   any text in which you have placed the insertion point.



NOTES:

   These scripts will convert an entire body of text into text
   blocks. Placing the cursor in text that runs for several pages
   would be a bad idea.

   Graphic printing directly from FW doesn't render the rotated
   blocks correctly. Postscript output gives much nicer results,
   so I would suggest using postscript and Ghostscript.


----------------------------------------------------------------

ComplexShape 1.0 arexx script for FinalWriter 3+

WHAT IT DOES:

   This script turns a series of lines into a complex shape
   made up of lines and bezier curves.

HOW TO USE IT:

   Draw a series of lines to roughly make a path to be converted
   into a complex shape. Do not use the polygon tool. The path
   you draw must be made up of individual line segments drawn
   in the sequence and direction in which you wish the final path
   to progress.

   The beginning of the first line you draw will be the beginning
   of the final shape. The end of the first line will be the second
   point in the shape. Draw additional lines, but note that only
   their end points are important to the script. The script assumes
   that a line's start point is the same as the endpoint of the
   previous line. This is helpful because after you draw a line, it
   becomes selected. So if you try to line up the next line you want
   to draw with an endpoint of the line you just drew you will end
   up moving the endpoint of the first line instead of drawing a
   second line from that point.

   As it is, you can leave space between the ends of lines because
   the script only cares about where a particular line segment ends.

   As you draw your sequence of lines keep in mind that regular lines
   will still be lines in the final complex shape, but lines with
   arrow tips will be converted into bezier curves.

   The final complex shape will be either an open or closed path
   depending on how close you draw your last line's endpoint to
   the starting point of the first line in the path. The script
   will make the last point the same as the path's starting point
   and will close the path if the two points are within about 50
   micropoints of each other.

   After you have drawn all your line segments, select them all and
   run the script. The lines will remain, but the complex shape will
   be drawn on top of them. The bezier segments will appear to be
   straight lines until you change their control points.


----------------------------------------------------------------

NOTE: All file requestors should open on the Workbench unless
   you are using FW version 5+ on a custom screen. In that case
   the file requestors should open on the custom screen.