macro:directory creation

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

macro:directory creation

Xavier Darzacq
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?

 

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/

 
Reply | Threaded
Open this post in threaded view
|

Re: macro:directory creation

Mark R. Besonen
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/
>
>
Reply | Threaded
Open this post in threaded view
|

Re: macro:directory creation

Xavier Darzacq
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




>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/
>
>