The script should read out the argument "design" with it's value 12345 and fill an internal variable.
Is this possible ?
At this moment, I use a workaround. I generate in realtime a .vbs script which i load to pulsonix like the command above with the design filename I need. So I don't have to generate a vbs file for each design.
Torsten
1 L A T E S T R E P L I E S (Newest First)
bpb
Posted - 04 Jan 2014 : 07:48:24 I'm haven't found a way to pass the args via command line, but it is simple to overcome this using environment variables (in JavaScript):
var WshShell = new ActiveXObject("WScript.Shell");
var WshEnv = WshShell.Environment("Process");
var docname = WshEnv("PULSONIX_DOC");
Then just wrap invocation in the .bat file which sets appropriate variables from command line arguments and you're done.