This is a small collection of some of my first attempts at bashing out
some ARexx scripts for the excellent Drawstudio. They don't do anything
particularly fancy, and the interface is a bit naff, but I they'll be
valuable learning material... even if it does mean that you learn how
NOT to write an ARexx script!
IMPORTANT! Some of these scripts require rexxmathlib.library (available
from Aminet sites at util/rexx/RexxMathLib.lha or on Aminet CD 16).
* Graph - As the name suggests, a little script that allows you to plot
a bar graph from a set of values. You can set various options
such as the scale used for the Y-axis, the length of ticks,
the inter-bar gap among other things.
* Polygon - OK, OK, so there are already scripts for drawing various
types of polygon provided with the program, but this one is
different. Honest, guv. Whereas the scripts that come with
DrawStudio only let you do triangles, pentagons, hexagons,
septagons, and octagons, this script gives you the ability
to create ANY regular polygon you like! Dodecagon anyone ?
* Flash - This creates a little star-like flash object not unlike
those seen in the tackier of supermarkets. However, like
many other things in DrawStudio, it's a little more flexible
than that. One of the example images demonstrates how, with
the aid of the Duplicate tool, you can create a pretty
* Pie - This is a bit of a naff attempt at creating pie charts. Due
to my severe lack of knowledge in all things mathematical,
I'm not particularly familar with Bezier curves, and so the
slices tend to look a bit crappy. However, you can still do
cool things like picking up individual slices and moving
Oh, and if you don't already have DrawStudio and just happen to be
browsing at this ReadMe file for no apparent reason, the go out and buy
it now! Seriously, we don't often get new commercial talent in these
hard times, so please give the demo a try or something.