Using Java and the macrointerpreter to execute a macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using Java and the macrointerpreter to execute a macro

4things
I want to use this macro:

run("8-bit");
run("Make Binary");
//setTool(2);
makePolygon(2,138,64,135,127,113,147,88,146,70,163,88,186,113,232,158,292,175,304,203,298,239,349,260,328,275,245,251,210,241,179,258,147,250,121,230,107,244,96,283,24,282,3,276,5,244,19,235,13,203,8,185,2,144);
run("Clear Outside");
run("Analyze Particles...", "size=10-Infinity circularity=0.00-1.00 show=Outlines clear");


I want to use the return of Analyze Particles.
Is there a possibility to use the Numbers are displayed by show=Outlines clear in Java?
Like a variable that contains the highes countet number (if there is the number 10 the highest the variable contains 10)


Thank you

Regards 4things