Wizard ,here a quote from KiX 2001 reference :
quote:
COM automation in KiXtart 2001COM Automation is a way for applications (such as Word and Excel) to expose functionality to other applications, including scripting languages such as KiXtart. This provides an easy way to access properties and call methods of other applications from within a script.
Note: the new COM automation support in KiXtart 2001 replaces the OLE functions in previous versions of KiXtart.
Creating a COM object in KiXtart is simple:
$Object = CreateObject("WScript.Shell")
$ExcelSheet = CreateObject("Excel.Sheet")
To release all system and memory resources associated with an object, simply assign any other value to the variable:
$Object = 0
find a compiled version of the latest documentation at www.scriptlogic.com/kixtart
hth
-Gandalf
[ 20 December 2001: Message edited by: jpols ]