Open LK script from command line

  • DoctorJ
  • Topic Author
More
01 Feb 2015 16:25 #3022 by DoctorJ
Open LK script from command line was created by DoctorJ
Hi!

Is there a convenient way to open an LK script along with an .sam file or, alternatively, just open an LK script from the command line (in which I can open the .sam file programmatically)?

Cheers!

J.

Please Log in or Create an account to join the conversation.

  • pgilman
More
02 Feb 2015 15:24 #3023 by pgilman
Replied by pgilman on topic Open LK script from command line
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:
Code:
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.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum