
-------------------------------------------------------------------------
Paint Scripting Demo
-------------------------------------------------------------------------

The Paint Scripting Demo application shows how you can use the Inference Engine component suite for implementing scripting functionality in your applications.  The Paint Scripting Demo is a small paint program where you can create, open and save images.  In addition, you can record your actions to make scripts that can be executed later.  

To play an existing script:

	1.	Select a script name in the right-hand tree view.
	2.	Press the play button.  If you press the Play Step button, the application will execute one line of the script.

To create a script:

	1.	Turn on recording by pressing the Record button.
	2.	Paint.  Select the Pencil tool, change colors and pen sizes, and draw on the canvas.  Notice how your actions are recorded on the right hand tree view.
	3.	Turn off recording by pressing the Stop Recording button.
	4.	Clear your canvas by clicking the New button.
	5.	Press the Play button to run your script


Developer Notes: 

This demo is an excellent example of how to use the suite for scripting your applications.  It also shows how easy it is to add scripting.  To add scripting to the paint program required adding the TInferenceEngine component and 10 TUserFunction components for the different paint operations (set-pen-size, set-foreground-color, set-background-color, set-font, set-text, get-width, get-height, execute-script, set-paint-action, and paint), setting a few properties and then defining the OnCall events (for when the function is called) for each of the TUserFunction components!  That's it!


-------------------------------------------------------------------------
Contacting RiverSoftAVG
-------------------------------------------------------------------------

For technical support send email to:  

  support@RiverSoftAVG.com

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

 Unless otherwise noted, all materials provided in this release
 are Copyright  2000, Thomas G. Grubb.

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