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:".
<jm:menu_and_toolbar_customizations xmlns:jm="http://www.jmp.com/ns/menu" version="3">
<jm:insert_in_main_menu>
<jm:insert_after>
<jm:name>HELP</jm:name>
<jm:menu>
<jm:name>NN SCRIPTS VERSION 2019.12.11</jm:name>
<jm:caption>NN Scripts for JMP-DLM</jm:caption>
<jm:caption lang="en">NN Scripts</jm:caption>
<jm:menu>
<jm:name>DISSOLUTION</jm:name>
<jm:caption>DISSOLUTION</jm:caption>
<jm:command namesDefaultToHere="0">
<jm:name>IMPORT EMPOWER DATA</jm:name>
<jm:caption>Import Empower Data</jm:caption>
<jm: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
</jm:action>
<jm:icon type="none"></jm:icon>
</jm:command>
</jm:menu>
</jm:menu>
</jm:insert_after>
</jm:insert_in_main_menu>
</jm:menu_and_toolbar_customizations>