1. Sharing variables from
Python to
VBS
Simply define the variable as global by running dd.GlobalDim("variableName") and now you have access from VBS you can try Print variableName (of course after assigning some value to the variable in Python beforehand)
2. Sharing variables from
VBS to
Python
Try this in VBS:
If Not Iteminfoget("variable2") Then
Call GlobalDim("variable2")
End If
test it by running print(dd.variable2)