This macro for ImageJ can be very useful in conjunction with the plug-in ActionBar. It offers operations to edit, extend and modify an ActionBar of your choice.
The macro should work with all ActionBars that follow a given convention. That means every button consists of six lines..
<button> 1 line 1 label=button_1_1 icon=new_action_bar/image1_1.png arg=<macro> showMessage("You pressed button 1 line 1"); </macro>
Feel free to use and modify it. This macro was written to ease some processes here and other people may have other needs.