Re: automated font manipulation and textbox placement
Posted by
jvander on
Nov 14, 2014; 1:19am
URL: http://imagej.273.s1.nabble.com/automated-font-manipulation-and-textbox-placement-tp5010414p5010437.html
Christine Labno responded to my original query with the helpful information that she was able to record a macro that did what I need:
Specify the font size and deselect smoothing
Select text tool and specify the location and size of the text box
I was able to duplicate what she did. I used the macro recorder and was able to create a macro to do this. I may just go with this solution, but I am trying to do it in a plug-in rather than a macro. When I tell the macro recorder that I am making a plug-in, the recorder only generates commands to set the text tool. It does not set the font or start the drawing box.
Does anyone know the appropriate plug-in commands?
as a bonus it wold be nice to automatically pass a character string to the text box and apply.
thanks,
Joe vanderGracht
____________________
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html