Imagej macro action tool
Posted by
PEARSON Matthew on
Aug 25, 2015; 2:02pm
URL: http://imagej.273.s1.nabble.com/Returning-an-array-in-Javascript-tp5014124p5014144.html
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