/* Outputs information that might be useful for debugging to log window Peter J. Lee NHMFL/FSU v210422 first version v230803: Replaced getDir for 1.54g10. */ lMacro = "Debug_info_to_log_v230803.ijm"; os = getInfo("os.name"); win = startsWith(os, "Windows"); if(screenHeight>=1060) loResScreen = false; else loResScreen = true; if(screenHeight<900) loLoResScreen = true; else loLoResScreen = false; mWidthLimit = 0.5 * screenWidth/12; memMax = IJ.maxMemory(); memMax /= 1000000; /* assume font size of 12 as getValue("font.size") requires open image */ /* This section shortens directory paths using the common base ImageJ directory if possible */ userDirL = getInfo("user.dir"); if (mWidthLimit