cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
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