Login  Register

Re: Imagej macro action tool

Posted by Romain Guiet on Sep 07, 2015; 12:44pm
URL: http://imagej.273.s1.nabble.com/Returning-an-array-in-Javascript-tp5014124p5014254.html

Hi Matthew,

My answer won't solve your issue with macro installation but (if you didn't try it yet) I would suggest you to use the ActionBar plugin :  http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:start
We use it a lot here,

Cheers,

Romain

---------------------------------------------------------------
Dr. Romain Guiet
Bioimaging and Optics Platform (PT-BIOP)
Ecole Polytechnique Fédérale de Lausanne (EPFL)
Faculty of Life Sciences
Station 19, AI 0140
CH-1015 Lausanne

Phone: [+4121 69] 39629
http://biop.epfl.ch/
---------------------------------------------------------------

________________________________________
De : ImageJ Interest Group [[hidden email]] de la part de PEARSON Matthew [[hidden email]]
Envoyé : mardi 25 août 2015 16:02
À : [hidden email]
Objet : Imagej macro action tool

Hi all,

I'm struggling to setup some shortcuts for macros within imageJ.  I'm aiming for three things:
1. macro installs automatically at start up
2. macro is available through the >> toolbars menu
3. macro can be assigned an icon as a shortcut in the toolbar

1.  I have added the following line to startup macros.txt file:
macro "AutoRun" {
        run("Run…", "run=[//Applications//Micro-Manager1.4//macros//RGB Composite Action Tool.txt]");
}

This doesn't work for some reason.  Initially i didn't have any spaces in the file name but used the underscore "_" it still didn't work with this though.

2.  I have added the macro to the Plugins>Tools folder

This hasn't worked.

3.  How do i give the macro an icon and add it to the toolbar?

I should also say that this is Imagej bundled with Micro-Manager so in fact the Tools folder within the Plugins folder didn't exist so i created the folder and added my macro to it but it doesn't appear.

Can anyone help we figure out where i'm going wrong with this?

Thanks a lot,

Matt






--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

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