I want to create a script that runs automatically when opening the jmp file and will save a graphbuild as image.
The issue is i keep receiving an alert message from a dialogue box. The alert is a warning that an "on open" script is trying to autosave, and requires to click OK.
How can I bypass that? Any suggestion?
Changing the OnOpen Evaluation to Never simply stops the scripts from auto running, which is opposite of what I want to do.
I found this information on the JMP website:
If you save a script to a data table and name it OnOpen or On Open, JMP can automatically run the script whenever you open the data table. On Open scripts that execute other programs are never run.
Prompt is selected by default. Your choice is remembered each time you open the data table in the cu...
Select Always to allow On Open scripts to run without prompting.
Select Never to prevent On Open scripts from automatically running when a data table is opened.
On Open scripts that execute other programs are never run.
Which explains why I am blocked with the prompted message below.
Any alternative to run On Open a script?
I'm sorry, I didn't know about that restriction, but I understand why it's there.
As for an alternative, I think that will depend on the workflow you envisage.
as an alternative to an Onopen script, you could add the open function to the startup script.
Create a script called jmpstart.jsl and save it in the folder C:\Users\<username>\