Re: macro print function

Posted by Rainer M. Engel on
URL: http://imagej.273.s1.nabble.com/macro-print-function-tp5019901p5019904.html

Thank you Herbie..

But this doesn't do it for me. I use now a function in my macro, where I
pipe some strings through. This works for now and I can print these
results to a file.


function someUnicodeSubst(string) {
        string = replace(string, "Ä", "Ä");
        string = replace(string, "Ö", "Ö");
        string = replace(string, "Ü", "Ü");
        string = replace(string, "ä", "ä");
        string = replace(string, "ö", "ö");
        string = replace(string, "ü", "ü");
        return string;
}


Regards,
Rainer


Am 17.01.2018 um 21:28 schrieb Herbie:

> Good day Rainer,
>
> does this
>
> Auml = fromCharCode( 196 );
> Ouml = fromCharCode( 214 );
> Uuml = fromCharCode( 220 );
>
> auml = fromCharCode( 228 );
> ouml = fromCharCode( 246 );
> uuml = fromCharCode( 252 );
>
> help?
>
> Regards
>
> Herbie
>
>
>
> --
> Sent from: http://imagej.1557.x6.nabble.com/
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html