Hola
He creado un script .jsl y me gustaría ponerlo en un .jmpcust para automatizar la creación de un JMP As-In usando JSL.
Funciona en parte, crea un menú pero el botón no funciona y no ha insertado el script en "Ejecutar este 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>