I am currently running a new vbscript from my main RhinoScript by creating the 2nd script ‘on the fly’ from array of strings and writing it to external secondfile.vbs file, then using WshShell.Run “C:\secondfile.vbs” I need it to keep running while the main RhinoScript is running as well.
The problem I have is, since I have to repeat it many times during runtime, writing the new vbs file using FSO slows the process down a bit on every creation/execution - I am trying to eliminate that. Is there a way to run a vbscript from the memory, without creating a physical file on HD? Looking for a way to get my script as strings and execute directly as independent vbscript. Thanks in advance for any suggestions.