Maybe this UDF can help you out:
vbs2Kix() - automated VBScript to KiX-script conversion
_________________________
Co