JSL Scripts not running in JMP 15My scripts do not run when I try them in JMP 15. They work fine in JMP14 (and have in JMP13 too).
The error message I get in the log (see example below) is familiar to me. I know it since JMP12 and it only happend before when I ran a script and had the log open. The solution was to just close the log.
In JMP 15 the log is open by default and I can't close it. The preference "Log Open Strategy( "Explicit" )," doesn't exist in JMP15.
Is there a way to close the log and/or get around the 'Glue' error message otherwise?
Example (XXX = replacement for actual name of data tables's):
deleted object reference: cbf << Get Selected in access or evaluation of 'Glue' , Try(TQC_daily << close window); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Try(Close(dt_xxx, no save)); /*###*/Names Default To Here(1);
Re: JSL Scripts not running in JMP 15Hi, Both options work. Although I don't seem to need to set "dbSelected = "Proda";" before the modal window.
Thank you very much. Rewriting scripts now...
Re: JSL Scripts not running in JMP 15Modal windows, which pause the execution of the script until the dialog is dismissed, are one example where it is common to try to use a box after it has been deleted. In this example, it would be preferred to initialize a variable prior to the prompt dialog:
dbSelected = "Proda";
And then save the results of the radio box during the execution of the dialog:
cbf = Radio Box( {"Proda", "Prodb", "Prodc", "Product_Stats"},
dbSelected = cbf << Get Selected;
)
When you have multiple inputs and prefer to group the input processing together, you can use the <
New Window( "OCS Scripts",
<<MODAL></MODAL>
I hope one of these approaches helps!
Re: JSL Scripts not running in JMP 15Hi and thanks for getting in touch with me.
I don't have OnClose scripts running. What I do have though are selection windows where the user can (or has to) select e.g. to only look at a specific product.
I just tried it and scripts that don't have the selection window seem to run fine. The selection box looks for example like below.
New Window( "OCS Scripts",
<<MODAL></MODAL>
Re: JSL Scripts not running in JMP 15For the deleted object reference on <
I don't know how this is related to your calls to close data tables. Do you have OnClose scripts that run when a data table or report are deleted?