Hi,

I am new to KixTart and struggling already!!!

I have a parent.kix (Kix Script) that I run and want to call child.vbs (VBScript). child.vbs needs to access a variable declared in parent.kix (or indicate success/failure in some way).

Am I correct in thinking that:
1) Using Call to invoke child.vbs will not work because Call expects Kix and not vbs? At the moment I have a msgbox command in the child.vbs that is causing problems.

2) I can use Call but would need to convert my child.vbs to child.kix - i.e. write child.vbs in Kix and not vbs?

OR

Use shell to call child.vbs and use wscript.quit 'n' to set a return value. In parent.kix I would need to use @ERROR to interogate the return value.

Is any of the above true or I have just not understood the concepts at all?

regards,

Jason