Login  Register

"Static" macro variables?

Posted by Joachim Wesner on Oct 27, 2006; 6:43pm
URL: http://imagej.273.s1.nabble.com/Need-a-plugin-to-read-nd2-files-in-ImageJ-tp3701161p3701162.html

Hi,

when programming a plugin I like that I can use statics for any variables
that set processing parameters etc.,
so the next time I run the same plugin the recent settings are already
active (at least within one ImageJ session).

This does not work with macros as there are no static variables. Any good
suggestions to acchieve this?
Saving the settings in a file would be possible, but I find it a bit
clumsy.

Joachim


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________