On Aug 4, 2011, at 7:26 AM, Dr Adam Cliffe wrote:
> Don't know if this exists, but does anyone know a short cut to open an image as a virtual stack, such as drag and drop onto a window/button to open?
You can open a TIFF file as a virtual stack by dragging and dropping it on the ">>" icon in the ImageJ toolbar. Notice how the message in the status bar changes from "<<Drag and Drop>>" to "<<Open as Virtual Stack>>" as the cursor moves over the ">>" icon.
> (or more generally, is there a way of making an object that will run a macro/plugin when a file is dragged and dropped onto it?)
The Action Bar plugin can create objects that do this.
http://imagej.nih.gov/ij/plugins/action-bar.html-wayne