IntroductionJustify.rexx is an ARexx script for use with GoldED. Its purpose is to perform paragraph justification in AmigaGuide documents. It detects AmigaGuide tokens and accounts for link length, unlike GoldED's standard justification commands.
Authors and copyrightThis script is copyright ©2002 by Francesco Borghese and Giacomo Di Giacomo.
Email: firstname.lastname@example.org, email@example.com.
DistributionThis script is public domain.
UsageInvoke the script with:
rx justify <L|R|C|J> (with path if required)
where the required parameter selects respectively left, right, center and full justification. When invoked, the script will format the paragraph (as delimited by top and bottom empty lines or AmigaGuide commands) of the selected window of GoldED containing the cursor. Indention is accounted for if the Layout->Keep Indention menu item is checked.
InstallationIf you have the MakeGuide add-on installed, it is advisable to put the script in the GoldED:add-ons/makeguide/rexx/ directory.
If you want fast access, you may replace the standard menu items of GoldED for the AmigaGuide file type with calls to the script. As an example, a menu configuration is supplied with the script. You can associate it with the AmigaGuide file type as follows:
LimitationsYou need a blank line at the end of the file to currently justify the last paragraph.
DownloadShift click to download AGJustify 1.0 (12k)
Contact us at firstname.lastname@example.org.