Hi
I have made .jsl script and would like to put it into a .jmpcust to automate the creation of a JMP As-In using JSL.
It works partly, it makes a menu but the button doesn't work and has not insert the script in "Run this JSL:".
<MENU_AND_TOOLBAR_CUSTOMIZATIONS jm="http://www.jmp.com/ns/menu" version="3">
<INSERT_IN_MAIN_MENU>
<INSERT_AFTER>
<NAME>HELP</NAME>
<MENU>
<NAME>NN SCRIPTS VERSION 2019.12.11</NAME>
NN Scripts for JMP-DLM
NN Scripts
<MENU>
<NAME>DISSOLUTION</NAME>
DISSOLUTION
<COMMAND namesdefaulttohere="0">
<NAME>IMPORT EMPOWER DATA</NAME>
Import Empower Data
<ACTION type="text">// Import Dissolution data from Empower
//Count open data tables before open excel file with empower data
noData = N Table();
dataFile = Pick File( "Select data file", "", {"Excel Files|xlsx"} );
Open( ::dataFile , Worksheet Settings(1));
// Some more but not relevant for the question
</ACTION>
<ICON type="none"></ICON>
</COMMAND>
</MENU>
</MENU>
</INSERT_AFTER>
</INSERT_IN_MAIN_MENU>
</MENU_AND_TOOLBAR_CUSTOMIZATIONS>