What resets "Line Width" ?
Posted by Dan McDonald on Jul 30, 2010; 3:09pm
URL: http://imagej.273.s1.nabble.com/What-resets-Line-Width-tp3687411.html
Dear List,
I set the line width in a macro with the run("Line Width. command. And it
works as expected until I hit a shortcut key to execute another macro.
The line width seems to get reset to the default line width after the
following macro is executed by its shortcut key.
macro "enhanced_m2 [m]" {
run("Set Measurements...", "area display redirect=None decimal=2");
run("Measure");
//Update Results Table
run("Add Selection...", "stroke=white width=2");
//Mark Measured Root
ThisLabel = toString(nResults);
getSelectionBounds(x1,y1, width, height);
makeText(ThisLabel, x1+ width-2,y1+2);
run("Add Selection...", "stroke=white font=12 fill=none");
//Label Root with ID
run("Select None");
updateResults();
}
Do any of the above commands reset the line width?
What other ImageJ events might reset the line width other than explicitly
changing it?
Thank you,
Dan
Daniel W. McDonald, President
Phenotype Screening Corporation
4028 Papermill Rd, Suite 10
Knoxville, TN 37909
(865) 385-8641
Our product, RootViz FS, was a 2007 R&D100 Award Winner. Rated as one of the
100 most technologically significant products introduced into the
marketplace in the prior year.