Login  Register

How do I control NeuronJ from a Macro?

Posted by Jeanine Hinterneder on Aug 30, 2010; 8:58pm
URL: http://imagej.273.s1.nabble.com/How-do-I-control-NeuronJ-from-a-Macro-tp3687095.html

Hello All-

 I have traced a bunch of images of neurons in NeuronJ and would like
 to now go through each image in the folder and take snapshots of the
 tracings and save them to a separate folder.  I have created a macro
 so far to do on each individual image (See below).
 However, it takes me a long time (and lots of individual clicks of the
 mouse) to separately open each image with NeuronJ and take Snapshots
 of each image.  I would LOVE to be able to batch process this folder!
 (Or, at the least to run the macro in a loop through a folder of
 images and have it run the open function and pause for me to select
 the next image in the folder each time.)

 Does anyone know why I can't use the Macro Recorder the "Snapshot"
 function or "Open" functions from the NeuronJ toolbar?
 Can anyone tell me if there's a way to run these commands from a Macro?

 Thanks a bunch!

 Jeanine