get micron sign into a dialog menu
Posted by Michael Doube on Apr 14, 2008; 12:52pm
URL: http://imagej.273.s1.nabble.com/get-micron-sign-into-a-dialog-menu-tp3696565.html
Hi all
Just a fiddly little question: I want to get a menu into a macro dialog
that lists units, mm, µm, nm, px. To get the µm, I have this code:
var microns = fromCharCode(181,109);
var units = newArray("mm", microns, "nm", "px");
Then put into a dialog menu like this:
Dialog.addChoice("Units: ", units);
but instead of µm I get NaN in my menu.
Any suggestions?
Mik