Hopefully I have the correct mailing list.
When combining VBscript, Jscript, and Python in a windows scripting file
(.wsf) the python script sections ignore the globals declared in other
script sections. Is there a way around this behavior?
Example test.wsf
<job>
<script language="VBScript">
Public variable
</script>
<script language="Python">
print "variable = ",variable (when executed variable is
undefined)
</script>
</job>
Also is there anyway around pythons inability to interface with com objects
whose methods pass parameters by reference? VBScript defaults to pass by ref
so it works and I would like create a wrapper in vbscript which could be
called from python. This does not seem to work because of the above global
scope issue.
TIA
Carl petersen
Opticominc.com
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython