Hello,
Not exactly. It is possible to run SAM from the command line. For example, the following will start SAM and open a file named "test.sam" on your C drive:
c:\sam15.1.30\x64\sam.exe "c:test.sam"
It doesn't look like you can use the same technique to start SAM and run an LK script, and it is not possible to open and close SAM from an LK script.
The
SAM software development kit (SDK)
might be a better option for automating SAM simulations. It also uses the LK scripting languages, which makes transferring scripts you've written in SAM to the SDK easier than it could be.
Best regards,
Paul.