Login  Register

Re: macro:directory creation

Posted by Mark R. Besonen on Sep 14, 2005; 4:28am
URL: http://imagej.273.s1.nabble.com/macro-directory-creation-tp3704888p3704889.html

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




>Thanks
>
>
>
>Xavier DARZACQ PhD
>Department of Anatomy and Structural Biology
>Albert Einstein College of Medicine
>Golding Building room 601
>1300 Morris Park Avenue
>Bronx, New York 10461.
>Lab: .......718-430-8598       Fax 8697
>Personal: 347-427-3714     Cellular: 917-301-9986
>[hidden email] / [hidden email]
>  <http://www.singerlab.org/> http://www.singerlab.org I
><http://singerlab.org/darzacq/> http://singerlab.org/darzacq/
>
>