This is simple demonstration how JMP Alert is suppressed
Names Default To Here(1);
Batch Interactive(1);
Throw("This is a test");
Batch Interactive(0); // won't execute as Throw stops the script
Show("Here!");
Compared to this
Names Default To Here(1);
Batch Interactive(0);
Throw("This is a test");
The message which was suppressed will be visible in the log (like Craige noted) but I'm not sure if it can be captured. At least with Throw() (might be different in other cases) Log Capture() will allow the script to continue execution for some reason
Names Default To Here(1);
Batch Interactive(1);
lc = Log Capture(
Throw("This is a test");
);
Batch Interactive(0); // won't execute as Throw stops the script
Show("Here!");
Show(lc);
-Jarmo