cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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