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
%3CLINGO-SUB%20id%3D%22lingo-sub-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EUtiliser%20les%20param%C3%A8tres%20r%C3%A9gionaux%20JMP%20(0)%20ne%20fonctionne%20pas%20sur%20macOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIl%20semble%20que%20la%20commande%20suivante%20ne%20fonctionne%20pas%20pour%20JMP%20MacOS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EUtiliser%20les%20param%C3%A8tres%20r%C3%A9gionaux%20JMP%20(%200%20)%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EExiste-t-il%20un%20script%20g%C3%A9n%C3%A9ral%20pour%20g%C3%A9rer%20le%20sc%C3%A9nario%20suivant%26nbsp%3B%3F%20Ou%20devons-nous%20mettre%20des%20conditions%20en%20fonction%20du%20syst%C3%A8me%20d'exploitation%20de%20l'utilisateur%26nbsp%3B%3F%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%20%2F%2F%20Configuring%20JMP%20to%20save%20CSV%20as%20commas%20and%20not%20%0A%20%0A%20If(%20(Num(%20%223.14%22%20)%20%3D%3D%203.14)%2C%0A%20%20is_EN_num_format%20%3D%201%2C%20%2F%2F%22English%20numeric%20format%22%0A%20%20is_EN_num_format%20%3D%200%20%2F%2F%22Non-english%22)%3B%0A%20%20)%3B%0A%20%0A%20If(%20is_EN_num_format%20%3D%3D%200%2C%20%0A%20%20Preferences(%20Use%20JMP%20Locale%20Settings(%200%20)%20))%3B%0A%0A%2F%2F%20code%0A%0A%2F%2F%20Setting%20back%20the%20formatting%20of%20numbers%20to%20its%20original%0A%20If(%20is_EN_num_format%20%3D%3D%200%2C%20%0A%20Preferences(%20Use%20JMP%20Locale%20Settings(%201%20)%20))%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomatisation%20et%20scripts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EmacOS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eles%20fen%C3%AAtres%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
FN
FN
Level VI

Use JMP Locale Settings( 0 ) not working on macOS

It seems the following command does not work for JMP MacOS.

 

Use JMP Locale Settings( 0 )

 

Is there a general script to deal with the following scenario? Or do we need to put conditionals depending on the OS of the user?

// Configuring JMP to save CSV as commas and not 
	
	If( (Num( "3.14" ) == 3.14),
		is_EN_num_format = 1, //"English numeric format"
		is_EN_num_format = 0 //"Non-english");
		);
	
	If( is_EN_num_format == 0,	
		Preferences( Use JMP Locale Settings( 0 ) ));

// code

// Setting back the formatting of numbers to its original
	If( is_EN_num_format == 0,	
	Preferences( Use JMP Locale Settings( 1 ) ));
0 REPLIES 0