cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Kelly
Level III

How do I prevent JMP Alerts from popping up?

When I use a combo button on the dashboard I get a JMP Alert. Nevermind what the alert says because it runs smoothly besides the popup. Is there a way to prevent or close that Alert within the script?

 

I have tried:

 

 

Combo11 << Batch Interactive ( 1 );

throw();

stop();

 

 

Thanks for the help!

1 ACCEPTED SOLUTION

Accepted Solutions
vince_faller
Super User (Alumni)

Re: How do I prevent JMP Alerts from popping up?

Don't send batch interactive to the combobox, you just put the environment into batch interactive when you run your script.  

 

Names default to here(1);
new window("Example", 
	combobox({"Thing 1", "Thing 2", "Thing 3"}, 
		<<Set Function(
			Function({self, value},
				print(value);
				if( value == 2, 
					throw("This should throw a popup")
				, //elif 
					value == 3, 
					batch Interactive(1);
					throw("This should throw to log");
					batch Interactive(0);
				)
			)
		)
	)
)

 

Vince Faller - Predictum

View solution in original post

1 REPLY 1
vince_faller
Super User (Alumni)

Re: How do I prevent JMP Alerts from popping up?

Don't send batch interactive to the combobox, you just put the environment into batch interactive when you run your script.  

 

Names default to here(1);
new window("Example", 
	combobox({"Thing 1", "Thing 2", "Thing 3"}, 
		<<Set Function(
			Function({self, value},
				print(value);
				if( value == 2, 
					throw("This should throw a popup")
				, //elif 
					value == 3, 
					batch Interactive(1);
					throw("This should throw to log");
					batch Interactive(0);
				)
			)
		)
	)
)

 

Vince Faller - Predictum

Recommended Articles