| T O P I C R E V I E W |
| max79 |
Posted - Feb 07 2010 : 23:45:35 Hi all,
I'm trying to use automation with VBScript and cscript command on Windows Vista. Unfortunately, I cannot add the expansion order option to the command line. According to the help file of FastCap, it should work like this: FastCapObject.Run("-lspheres.lst -o3"). In my case: -this works fine: couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst""")
-this stops with an error: couldRun = FastCap2.Run("""-o4 -l" + path + "SpuleFC.lst""") or couldRun = FastCap2.Run("""-l" + path + "SpuleFC.lst -o4""") --> Microsoft VBScript runtime error: Subscript out of range: '[number: 0]'
Any ideas how to solve this? I appreciate any replies or hints.
Max79 |
| 1 L A T E S T R E P L I E S (Newest First) |
| Enrico |
Posted - Apr 05 2010 : 23:31:58 You misplaced the "
Try using
couldRun = FastCap2.Run("-l""" + path + "SpuleFC.lst"" -o4")
Best Regards, Enrico
|
|
|