|
Special Commands
CLIPFORM templates can contain a number of other useful directives to control what data is extracted, how the output is formatted, and what is done with the output. RUNNING COMMANDS You can include a command that will be executed after CLIPFORM completes. This command can be any program, data file, or even a web site. This will most often be used either to open the data file which you created using CLIPFORM, or to launch a macro that will further process the data which CLIPFORM extracted. The command is specified using the Command= directive, which should be enclosed in square brackets and set forth in a line at the beginning of the CLIPFORM template. For example:
The above example will extract data from the Outlook default Contacts folder, save the output as a text file, and then open the file in Notepad. The [ENDHEADER] directive is used to separate header information (text that appears only once in the CLIPFORM output, such as a page title, or initial HTML code) from information that should accompany every record extracted from Outlook by CLIPFORM. Similarly, the [BEGINFOOTER] directive marks the beginning of information that will appear only once at the end of the CLIPFORM output. CLIPFORM supplies the [#] directive to include the item number of a particular record, and the [ITEMCOUNT] directive to include the total number of items extracted by CLIPFORM. The following example shows the use of each of these directives:
|
![]()
Copyright © 1997-2002, Walter
E. Heindl,
SOFTWARE