I don't know if this'll help but...
if you do either of:
Set obj = CreateObject("VBScript")
Set obj = CreateObject("JScript")
it seems to work since no exception is thrown. If you put something else
in the quotes, you get an exception. If you can figure out what the
library that contains Python is called, then you could do something
similar, i.e.
On Error Resume Next
Set obj = CreateObject("Python")
If Err.Number=0 Then
'We have Python!
Else
'Nope, we don't
End If
On Error Goto 0
I don't have Python installed, so I can't test this.
Andy
> Hello,
>
> I have this event, in VBScript, in wich I would like to test if Python
> is an available langage in XSI. Is there a way to find out this
> information in scripting in VBScript?
>
>
> Thanks
> Bernard
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi