Posted by
dscho on
Jun 26, 2014; 2:48pm
URL: http://imagej.273.s1.nabble.com/Macro-in-Plugin-Menu-fails-to-run-tp5008423p5008450.html
Hi Kaitlin,
On Thu, 26 Jun 2014, Snider, Kaitlin wrote:
> I sent the below message last night, not sure why it never reached the list:
Oh, I must have missed it!
> "I was messing around with the plugin some more and discovered that
> simply renaming it to "Cell_" fixes the problem. I'm not sure why
> "Cell_nuclei_macro_x" didn't work, but "Cell_" works fine, so I'll use
> that.
That is great news: you can run your macro again.
> I suspect this could have been because I had the same file with the same
> name under both the Plugins folder and the Macros folder.
Yes, this is what I pointed out when I listed the four different versions
of the macro. I understand that it is easy to get into that situation...
If you type Ctrl+L to open the Command Launcher and then type "Cell" into
the search box, do you see something like "Script:..." in the class name
column? I usually use the Command Launcher to diagnose such problems
because it lists exactly which file is responsible for running the command
associated with the menu item.
> Much thanks to everyone for all of your help and patience - as a person
> who is VERY new to any kind of programming, it's wonderful to have this
> level of support available!
That is great feedback, thank you!
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html