cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
rainwang
Level I

How to fully exit JMP when using .bat to run .jsl script

When use .bat to run one jsl file, I can close all the data tables using script in JSL file, while at the end the JMP home window still there, can't exit automatically.

when use older JMP version like JMP9, no such issue.

the contents of .bat and .jsl are as below:

the .bat file

11563_pastedImage_0.png

the .jsl file, just very simple script to do datatable update.

11567_pastedImage_1.png

After double click the .bat file, the jsl run normally, only the JMP home window can't exit automatically. becuase the JMP still open, so the windowns cmd window also can't close automatically.  Not sure if anybody suffer the same issue. Does anyone know how can close the JMP home windowns automatically?

11568_pastedImage_2.png

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Re: How to fully exit JMP when using .bat to run .jsl script

Try Exit(); or Quit(); at the end of your JSL script.

-Jeff

View solution in original post

3 REPLIES 3
Jeff_Perkinson
Community Manager Community Manager

Re: How to fully exit JMP when using .bat to run .jsl script

Try Exit(); or Quit(); at the end of your JSL script.

-Jeff
Jeff_Perkinson
Community Manager Community Manager

Re: How to fully exit JMP when using .bat to run .jsl script

PS: The Scripting Index is your friend.

11569_JMPScreenSnapz018.png

-Jeff
rainwang
Level I

Re: How to fully exit JMP when using .bat to run .jsl script

Thank Jeff!