Posted by
Michael Schmid on
Sep 05, 2013; 3:52pm
URL: http://imagej.273.s1.nabble.com/Presets-and-recent-settings-in-import-raw-dialog-tp5004671p5004674.html
Hi Josh,
what about different macros for your different file types?
Use Plugins>Macros>Record to record how you open these files, and delete the filename from the recorded strings, then the macro will ask for the filename.
Another possibility:
If your files have well-defined lengths, you may also have one macro for all, selecting the parameters according to file length. It's similar if one can deduce the parameters from the file name.
Use path=File.openDialog("Raw file to open"), then examine File.length(path) and/or File.name (the filename without the directory).
Michael
________________________________________________________________
On Sep 5, 2013, at 17:37, Josh Doe wrote:
> Not sure if I'm the only one that encounters this, but often I'm faced with
> opening many raw (headerless) files, with several different settings
> (width, height, gap, offset, etc.). To go back and forth between different
> image sets requires changing these each time.
>
> What about creating a combobox with presets and/or recently used settings?
> I figure this would entail adding a single combobox, and two buttons (Save,
> Remove).
>
> Would anyone else find this useful and would the changes likely be accepted?
>
> Thanks,
> -Josh
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html