Passing variables/values between scripts
Posted: 08 Jul 2019, 05:45
Hi everyone. I followed this tutorial: youtu.be/tkeQq_nfQ5k?t=853
The codes :
My question is that Can I use this method (ComObj) to passing an array, like Var1 := [1, 2, 3] and how to retrieve these values ?
The codes :
Code: Select all
Var1 := 1
objShell := ComObjCreate("WScript.Shell")
objEnv := objShell.Environment("Volatile")
objEnv.Item("Var1") := Var1