returning results of plugins within macros
Posted by
Frederic V. Hessman on
Aug 05, 2008; 12:21pm
URL: http://imagej.273.s1.nabble.com/returning-results-of-plugins-within-macros-tp3695452.html
I looked at the documentation, but I can't find a way of using the non-
image result of a plugin in a macro.
I want to be able to pull an entry out of a FITS image header and use
it in a macro, something like
exposuretime=run("Read FITS Header","image=[] key=[EXPTIME]");
Any ideas? An alternative would be to be able to use Prefs within a
macro, e.g.
run("Read FITS Header", "key=EXPTIME");
exposuretime=Prefs.get("fits.result");
This functionality would come in handy for other reasons.
Rick
------------------------------------------------------------------------------------------------
Dr. Frederic V. Hessman
[hidden email]
Institut für Astrophysik Tel. +49-551-39-5052
Friedrich-Hund-Platz 1 Fax +49-551-39-5043
37077 Goettingen Room F04-133
http://www.Astro.physik.Uni-Goettingen.de/~hessman-------------------------------------------------------------------------------------------------
MONET: a MOnitoring NEtwork of Telescopes
http://monet.Uni-Goettingen.de-------------------------------------------------------------------------------------------------