cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
lala
Level VIII

Can JSL modify the system "Preferences" of JMP?

Now "Wrap text" is not selected in "Script Editor" in JMP's system "Preferences".

Can a JSL be used to open the edit state of a given JSL and hologram it to be able to "Wrap text"?

 

Thanks!

2024-05-06_14-29-53.png

4 REPLIES 4
lala
Level VIII

回复: Can JSL modify the system "Preferences" of JMP?

dz = Open( "$SAMPLE_Scripts\demoLong.jsl", Add to Recent Files( 0 ) ,"Wrap text");//??
jthi
Super User

回复: Can JSL modify the system "Preferences" of JMP?

It will be a change to preferences so do NOT let anyone run this script who doesn't want that preference to be changed

Set Preferences(Script Editor Settings(Wrap Text(0)));

https://www.jmp.com/support/help/en/17.2/#page/jmp/utility-functions.shtml?os=win&source=application...

 

Provide way to set session / instance preferences and presets 

-Jarmo
lala
Level VIII

回复: Can JSL modify the system "Preferences" of JMP?

Thanks Experts!

OK, the command doesn't work until version 17.

jthi
Super User

回复: Can JSL modify the system "Preferences" of JMP?

It should be same command for JMP16 and 17 (at least it works form me in both). You can also change the setting manually from preferences and use Get Preferences() to get an idea of the command which you should use when you set them (JMP might not show default settings when using that). 

-Jarmo