Hi,
I just found the example where one can call java from a macro (call command in macro). So, I can use this template to do my processing in a macro and the file deleting and renaming in a java class.
Thx,
Falk
-----Ursprüngliche Nachricht-----
Von: Wayne Rasband [mailto:
[hidden email]]
Gesendet: Freitag, 28. Juli 2006 22:45
An: Lucas, Falk /BDF HAM
Betreff: Re: call batch file from macro
> My macro is looking for a file that will be written from a different
> program. As soon as this file exists, IamgeJ will do some process some
> files in that folder. This processing should include some file
> renaming and file deleting. I would like to do these via a dos batch file.
I do not know a way to call a batch file from a macro but macros can delete files using File.delete, and I plan to add a File.rename() function in a future version of ImageJ.
_____________________ Confidentiality _____________________
This electronic transmission is strictly confidential and intended
solely for the addressee. It may contain information which is covered
by legal, professional or other privilege. If you are not the intended
addressee, you must not disclose, copy or take any action in reliance
of this transmission. If you have received this transmission in error,
please notify us and delete the received data as soon as possible.
This footnote also confirms that this email message has been swept
for the presence of computer viruses.
_______________________________________________________