It fails for me too,
value = getValue(parameter);
fails because there is no open results table.
The fix is easy: Change
run("Analyze Particles...", "clear include add ");
run("Analyze Particles...", "clear include add display");
to display the required results table, and then the macro works as expected.
What puzzles me is why it did not already fail at the first call to Table.headings when there is no table open.
From: ImageJ Interest Group <[hidden email]> On Behalf Of CARL Philippe (LBP)
Sent: 27. juni 2019 12:11
To: [hidden email] Subject: ImageJ update 1.52p