// Calibration Bar Macros // // These macros add a calibration bar to the current image // or stack or add calibration bars to all the images and // stacks in a folder. var location = "[Upper Right]"; var fil = "White"; var label = "Black"; var number = "5"; var decimal = "0"; var font = "12"; var zoom = "1"; addBar(); exit; // Adds a calibration bar to all the images in a stack macro "Add Calibration Bar" { addBar(); } // Adds a calibration bar to all the images and stacks in a folder macro "Batch Add Calibration Bar" { dir = getDirectory("Choose a Directory "); list = getFileList(dir); setBatchMode(true); for (i=0; i