I am calling the scp file using the RunScript function, like the example bellow.
Code: Select all
Dim x3 As New MScript.MacroScript
x3.Init()
'chama script para abrir o SAC
x3.RunScript("C:\Test\test.scp", "")
Dim str As String
I need to get a value from a variable in this script.
How can I get it?
I read in some topic that I need to use the
I tried the code bellow, but I can't get the value.
How can I do this? Is there some way to get this values?
Code: Select all
Dim str As String
str = x3.GetVar("MACRO_RESULT")