Hi, I recently ran into the opposite problem: When I click a jsl-file in a folder, JMP immediately start ot execute it. I note that there is mentioned in this string the special effect of //! in the beginning of the script. This should force the script to execute, as the more obvious 'On Open' command.
Do you know of any more obscure controllng characters that will affect the behavior of JMP when opening scripts?
The script in question, which opens immediately DOES have a lot of comments with all kinds of special characters in them, including !. But I do not see //! start the script.
Poul Ravn Sørensen
Wondering have you this box checked within JMP preferences?
This probably runs the scripts automatically.
Hi Ivan, no, I do not have this check box marked. I did note, that it was mentioned previously, so I've checked, but the check box is un-marked. The strange thing is, that the icons of the *.jsl files, when viewed from Explorer, is dissimilar from the icon seen from inside JMP. I do not quite remember, but I thing the icon is the that for an JMP-addin. It would make sense then that JMP starts the application immediately.
Another post recommends to reset ALL associations, but I have not tried that yet.
Thanks for the answer.
Poul Ravn Sørensen
Hi Poul Ravn Sørensen,
You are getting an icon like one of these ?
These also run auto for me.
My scripts icons which I can open without running auto look like this:
When you have the script open, could you try and resave it as the following, (You probably done this already).
Hope this helps.
Right, I see the icon as 'BA_ALL...', not as the ones with keys. Will try your suggestions. Thanks.
The icon for BA_ALL... is the source file for a JMP Application, saved from the Application Builder. If the application includes some JMP reports based on a given data table then that table and those reports will be run automatically when the source file is opened.
That sounds like it may be what's happening here.
I have lately noticed that this happens to me as well in JMP 14. The files are neither applications nor do I have the selection in preferences to run files upon opening. The only way I can avoid JMP from doing this is by opening the script from File > Open interface.