// This macro set defines keyboard shortcuts that switch // on and off individual channels in "composite" mode stacks. // It requires ImageJ 1.49a or later. After installing this // macro set, typing "1" is equivalent to clicking on // "Channel 1" in the "Channels" dialog, typing "2" is // equivalent to clicking on "Channel 2", etc. Add these // macros to ImageJ/macros/ StartupMacros.txt and // they will be installed when ImageJ starts up. macro "Toggle Channel 1 [1]" {Stack.toggleChannel(1);} macro "Toggle Channel 2 [2]" {Stack.toggleChannel(2);} macro "Toggle Channel 3 [3]" {Stack.toggleChannel(3);} macro "Toggle Channel 4 [4]" {Stack.toggleChannel(4);} macro "Toggle Channel 5 [5]" {Stack.toggleChannel(5);} macro "Toggle Channel 6 [6]" {Stack.toggleChannel(6);} macro "Toggle Channel 7 [7]" {Stack.toggleChannel(7);}