Login  Register

macros in imagej/fiji

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options Options
Embed post
Permalink
spt
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

macros in imagej/fiji

spt
Does anyone know how to install a particular set of macros so that they
come up every time that you launch ImageJ ?(I am using the fiji package,
ImageJ version 1.45b, windows xp). I can install them for a given
session, but the next time I launch the program, they have to be
installed again.

 

Thanks for any insights?

 

Susan Travers

Professor, Division of Oral Biology

College of Dentistry

The Ohio State University

305 W 12th Avenue

Columbus, OH 43210

(614)292-6366 (office)

(614)457-6945 (fax)

 


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

Re: macros in imagej/fiji

dscho
Hi Susan,

On Tue, 27 Nov 2012, Susan Travers wrote:

> Does anyone know how to install a particular set of macros so that they
> come up every time that you launch ImageJ ?(I am using the fiji package,
> ImageJ version 1.45b, windows xp). I can install them for a given
> session, but the next time I launch the program, they have to be
> installed again.

You can edit the file StartupMacros.txt in macros/ (there should also be a
menu item in Plugins-Macros if I remember correctly, sorry, cannot check
on my phone) and add the macros there.

Additionally, you could install macros from the AutoRun function in said
file that is run automatically by ImageJ 1.x upon startup (*not* the
complete file, which might surprise a few people). To find out which
commands are required for that, I would simply start the Macro Recorder
and then install the respective macros using Plugins-Macros-Install...

Ciao,
Johannes

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

Re: macros in imagej/fiji

Robert Baer
In reply to this post by spt
On 11/27/2012 8:32 AM, Susan Travers wrote:
> Does anyone know how to install a particular set of macros so that they
> come up every time that you launch ImageJ ?(I am using the fiji package,
> ImageJ version 1.45b, windows xp). I can install them for a given
> session, but the next time I launch the program, they have to be
> installed again.
>
Simply add your macro to StartupMacros.fiji.ijm which on windows is in
the Fiji.app\macros  folders.

HTH,
Rob


>  
>
> Thanks for any insights?
>
>  
>
> Susan Travers
>
> Professor, Division of Oral Biology
>
> College of Dentistry
>
> The Ohio State University
>
> 305 W 12th Avenue
>
> Columbus, OH 43210
>
> (614)292-6366 (office)
>
> (614)457-6945 (fax)
>
>  
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html


--
__________________
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksille College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501 USA

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

Re: macros in imagej/fiji

dscho
Hi Robert,

On Tue, 27 Nov 2012, Robert Baer wrote:

> On 11/27/2012 8:32 AM, Susan Travers wrote:
> > Does anyone know how to install a particular set of macros so that they
> > come up every time that you launch ImageJ ?(I am using the fiji package,
> > ImageJ version 1.45b, windows xp). I can install them for a given
> > session, but the next time I launch the program, they have to be
> > installed again.
> >
> Simply add your macro to StartupMacros.fiji.ijm which on windows is in the
> Fiji.app\macros  folders.

Actually, that file is meant more as a template. It is tracked by the
updater and if you modify it, the updater will complain about
that locally-modified file all the time ;-)

Ciao,
Johannes

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

Re: macros in imagej/fiji

Robert Baer
On 11/27/2012 4:00 PM, Johannes Schindelin wrote:

> Hi Robert,
>
> On Tue, 27 Nov 2012, Robert Baer wrote:
>
>> On 11/27/2012 8:32 AM, Susan Travers wrote:
>>> Does anyone know how to install a particular set of macros so that they
>>> come up every time that you launch ImageJ ?(I am using the fiji package,
>>> ImageJ version 1.45b, windows xp). I can install them for a given
>>> session, but the next time I launch the program, they have to be
>>> installed again.
>>>
>> Simply add your macro to StartupMacros.fiji.ijm which on windows is in the
>> Fiji.app\macros  folders.
> Actually, that file is meant more as a template. It is tracked by the
> updater and if you modify it, the updater will complain about
> that locally-modified file all the time ;-)
>
> Ciao,
> Johannes
Johannes is obviously the man!  I appreciate the correction.  What I
should have told you for a file name is StarupMacros.txt  in the same
macros folder.  If such a file does not already exist, try Plugins >
Macros > About Startup Macros to learn more.

Sorry for the misinformation.

Rob


--
__________________
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksille College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501 USA

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

Re: macros in imagej/fiji

dscho
Hi Robert,

On Tue, 27 Nov 2012, Robert Baer wrote:

> On 11/27/2012 4:00 PM, Johannes Schindelin wrote:
> >
> > On Tue, 27 Nov 2012, Robert Baer wrote:
> >
> > > On 11/27/2012 8:32 AM, Susan Travers wrote:
> > > > Does anyone know how to install a particular set of macros so that they
> > > > come up every time that you launch ImageJ ?(I am using the fiji package,
> > > > ImageJ version 1.45b, windows xp). I can install them for a given
> > > > session, but the next time I launch the program, they have to be
> > > > installed again.
> > > >
> > > Simply add your macro to StartupMacros.fiji.ijm which on windows is in the
> > > Fiji.app\macros  folders.
> > Actually, that file is meant more as a template. It is tracked by the
> > updater and if you modify it, the updater will complain about
> > that locally-modified file all the time ;-)
>
> Johannes is obviously the man!  I appreciate the correction.  What I
> should have told you for a file name is StarupMacros.txt  in the same
> macros folder.  If such a file does not already exist, try Plugins >
> Macros > About Startup Macros to learn more.

And obviously I forgot to mention the correct file name... Thanks, Rob!

Ciao,
Johannes

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

Re: macros in imagej/fiji

Kenton Arkill
You can save the macros in the plugins folder (they need a space in them
(or _) to show).
Kenton


On 28 November 2012 00:26, Johannes Schindelin
<[hidden email]>wrote:

> Hi Robert,
>
> On Tue, 27 Nov 2012, Robert Baer wrote:
>
> > On 11/27/2012 4:00 PM, Johannes Schindelin wrote:
> > >
> > > On Tue, 27 Nov 2012, Robert Baer wrote:
> > >
> > > > On 11/27/2012 8:32 AM, Susan Travers wrote:
> > > > > Does anyone know how to install a particular set of macros so that
> they
> > > > > come up every time that you launch ImageJ ?(I am using the fiji
> package,
> > > > > ImageJ version 1.45b, windows xp). I can install them for a given
> > > > > session, but the next time I launch the program, they have to be
> > > > > installed again.
> > > > >
> > > > Simply add your macro to StartupMacros.fiji.ijm which on windows is
> in the
> > > > Fiji.app\macros  folders.
> > > Actually, that file is meant more as a template. It is tracked by the
> > > updater and if you modify it, the updater will complain about
> > > that locally-modified file all the time ;-)
> >
> > Johannes is obviously the man!  I appreciate the correction.  What I
> > should have told you for a file name is StarupMacros.txt  in the same
> > macros folder.  If such a file does not already exist, try Plugins >
> > Macros > About Startup Macros to learn more.
>
> And obviously I forgot to mention the correct file name... Thanks, Rob!
>
> Ciao,
> Johannes
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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