AnsweredAssumed Answered

How to pass parameters to VBS scripts invoked from ExpeditionPCB?

Question asked by olsmir on Dec 14, 2016
Latest reply on Dec 16, 2016 by olsmir

Hello All,

Would anybody explain me how to pass parameter(s) to VBS scripts invoked from ExpeditionPCB?

 

When I invoke my script without ExpeditionPCB, I can successfully pass parameters to it.

For example, I have the following test.vbs:

 

Dim objArgs

Set objArgs = WScript.Arguments

MsgBox objArgs(0), 0, ""

MsgBox "The end", 0, ""

 

Then I invoke it as the following line: test.vbs "111"

As a result, I see "111" message, then "The end" message. Everything is OK.

 

Then I try to invoke the above script from ExpeditionPCB.

I open a PCB in ExpeditionPCB, then I specify the following in the keyin field: run test.vbs "111"

As a result, I see "The end" message only, without "111" message.

 

What could be wrong?

 

Oleg

Outcomes