D&Do v. 1.0   Prev   Next   Top


How D&Do Works; a Summary

 Note: It is recommended to read it again after having tried a few examples. This section introduces you to the central concepts (in bold characters) related to D&Do. The Metascript Exploration sub-section explains an example of a metascript that involves most of these concepts.

D&Do does nothing by itself; the real work is done by the command line program that is specified through a template expression in a metascript file; it only simplifies the use of the program. Before being able, to do any useful work, D&Do must have loaded a proper metascript file.

A metascript is a text-based file that contains, among other things:

Usually, D&Do operates internally in the following sequence:

At that point, D&Do has done its job. You may also want to paste the clipboard content into a specific point of your application. Note: The program itself might do other inputs and outputs such as, for example, reading and writing files, playing sounds, accessing the network, etc. This aspect is however the domain of that specific program and is out of the context of this document.

 


Prev   Next   Top

Copyright(c) 2003-2004 Marcel St-Amant