I don't think that you can do this from inside autoit.

best way to use autoit is to use the AxtiveX COM object from inside your kix script.

Bryce