Default directory for saving data after analysis (IJ Macro language)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Default directory for saving data after analysis (IJ Macro language)

Marcel Krzan
Dear friends,

In my Macro I have to modify my procedure which records the data after the
analysis.

The procedure given by the Macro allows me to save data in any
subdirectory, but the main directory is the C:\ProgramFiles\ImageJ....

The empty space on drive C: is limited and therefore I would like to add
permanently new path in my Macro for data saving.

As I said above the present Macro function:

 path6 = getDirectory("startup")+"temp_ads\\";


must be shifted for something other, which save the data on the drive

"D:\\temp_ads\\"

The function "Choose a Directory " is not possible to use - because the
process must be done by Macro automatically, and many time in the loop.

Please, help me with my problem

Regards

Marcel Krzan

J. Haber Institute of Catalysis and Surface Chemistry

Polish Academy of Sciences

Cracow / Poland

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Default directory for saving data after analysis (IJ Macro language)

Rainer M. Engel
Am 03.04.2014 09:43, schrieb Marcel Krzan:
> As I said above the present Macro function:
>
>  path6 = getDirectory("startup")+"temp_ads\\";
>
>
> must be shifted for something other, which save the data on the drive
>
> "D:\\temp_ads\\"


why not making it static?
path6 = "D:\\temp_ads\\";


--
Rainer M. Engel, Dipl. Digital Artist
scientific|Media GbR
Pichelsdorfer Str. 143
13595 Berlin

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html