
Sample scripts:

  funky.cwx

Takes the selected text object and does funky things with it

  regshad.cwx
  greyshad.cwx

Create nice drop shadows for the selected text object.


  abstract.cwx

This script randomly creates a large number (between 1 and 100) of
random objects each time it is run.  The effect is often quite nice.




  blue.cwx

This script turns every object with a colour attribute (i.e. an object
with a solid colour, colour fade or emboss tool) blue.  It prompts for
confirmation before doing anything ("Are you feeling blue?").
Basically, this is a silly toy.




  calclear.cwx
  calendar.cwx
  CALENDAR.GDO

These files make up the calendar script.  CALENDAR.GDO is the template
project.  It must be loaded for the script to work.  The month and
year are set by editing the text of a headline text object.  The
script "calendar.cwx" uses this information to fill in the actual
days, month and year on the calendar.  The script "calclear.cwx"
blanks out much of the calendar, making the art more visible.




  jpgman.cwx

This script is a Mandelbrot set generator.  Running the script will
draw a section of the Mandelbrot set against a black background.  It
takes a long time to run.  You may trade resolution for speed by
editing the script and, at the following lines, comment out the first
and uncomment the second.

 resx=16; resy=16
/*resx=8; resy=8*/




  objprop.cwx

This script lists all of the properties of the currently selected
object, plus its tool and region.




  starfiel.cwx

This script generates a starfield against a black background.  The
background is only created if it doesn't yet exist.  Thus, you can run
the script several times to get more stars.


  mkindex.cwx

Looks up all the images (BMP/GIF/JPG) in the current project
and creates a single IDX.JPG with all of them "thumbnailed" in
it.


  changcap.cwx

EDIT THE SCRIPT BEFORE RUNNING.  This will search every piece of text
in a Project for a certain word.  If found it will replace the word
with another.  Useful for changing a complex text effect to another
phrase.


   flippy.cwx

A sample of some of the interaction you can have with objects via
a script.  This is just a simple game implemented as graphic objects.

