// These macros allow tools to be selected by pressing function keys. // Add them to ImageJ/macros/StartupMacros.txt and they will be // automatically installed when ImageJ starts. macro 'Rectangle [f1]' {setTool('rectangle')} macro 'Elliptical [f2]' {setTool('elliptical')} macro 'Brush [f3]' {setTool('brush')} macro 'Polygon [f4]' {setTool('polygon')} macro 'Freehand [f5]' {setTool('freehand')} macro 'Straight Line [f6]' {setTool('line')} macro 'Segmented Line [f7]' {setTool('polyline')} macro 'Arrow [f8]' {setTool('arrow')} macro 'Angle [f9]' {setTool('angle')} macro 'Multi-point [f10]' {setTool('multipoint')} macro 'Wand [f11]' {setTool('wand')} macro 'Magnifying Glass [f12]' {setTool('zoom')}