cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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