Login  Register

Macro Question

Posted by Kirmse Robert on Aug 24, 2005; 10:01am
URL: http://imagej.273.s1.nabble.com/Macro-Question-tp3704978.html

Dear group,

I was wondering if it is possible to save the content of a variable in a
macro to the next
run of it.

I need this because I want to process some images and save different ROIs as
XY data.
It would speed up the process if I could just press a key and a macro calls
the "save as XY" (that´s no problem) but inserts by itself the path and an
increasing number to the filename
like
data001.txt -> data002.txt and so on.

So I am searching a possiblility to store the path and an integer in
variables (increasing the integer after every save action) but without
loosing the values after the termination of the macro.

I have looked through the examples but maybe I overlooked something or maybe
it is not possible at all.


Thanks in advance

cheers
robert