Using the COM Interface
Before you can use the COM interface to AutoItX it needs to be "registered" (This is done automatically when you install the full version of AutoIt but you may need to do it manually if you are using AutoItX separately).
To register the COM interface:
1. Open a command prompt
2. Change directory (using CD) to the directory that contains AutoItX3.dll
3. Type regsvr32.exe AutoItX3.dll and press enter
The name of the AutoItX control is AutoItX3.Control
Here is an example of calling a the Run method of the control from VBScript:
Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
oAutoIt.Run("notepad.exe")