Posted by
Xavier Darzacq on
Sep 14, 2005; 6:06am
URL: http://imagej.273.s1.nabble.com/macro-directory-creation-tp3704888p3704890.html
Thanks a lot, this ir realy a great tool, it will simplify my image
processing since I was curentely spending a lot of time creating empty
folders.
Thanks for sharing
I hope one day I will invest some time ans learn how to develop plug-in
things but for now ...
Xavier
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Mark
R. Besonen
Sent: Tuesday, September 13, 2005 11:29 PM
To:
[hidden email]
Subject: Re: macro:directory creation
At 10:39 PM 9/13/2005, you wrote:
>Hi all,
>Can an IJ macro make a directory?
>Can an IJ macro command delete files, move files or directories?
>Did anyone created a plug-in to do this things?
Hello Xavier,
I futzed together a small plugin that can be called from the
macro language to make directories on the fly. Check the mailing
list archives at
http://list.nih.gov/cgi-bin/wa?A1=ind0506&L=imagej#89 for details
(thread #89 during June 2005). This does not help you with other
operations like deleting/moving files, etc., but it is a start.
For somebody with some Java language and plugin writing
skills, I think it would literally take them just a few minutes to
write some simple, single purpose plugins like the "make directory"
one. I think many people would probably benefit from the addition of
such file operation functions to the macro language itself. But it's
simply a matter of Wayne or somebody else finding the time to do so,
and if their schedules are anything like mine and probably yours, I
can easily understand why they haven't got to it yet!
Hope this gets you started!
Mark Besonen