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%3EUse%20JMP%20Locale%20Settings(%200%20)%20not%20working%20on%20macOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-678196%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIt%20seems%20the%20following%20command%20does%20not%20work%20for%20JMP%20MacOS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EUse%20JMP%20Locale%20Settings(%200%20)%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EIs%20there%20a%20general%20script%20to%20deal%20with%20the%20following%20scenario%3F%20Or%20do%20we%20need%20to%20put%20conditionals%20depending%20on%20the%20OS%20of%20the%20user%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%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EmacOS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%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