Launch a macro from a command line
Posted by
lechristophe on
Jan 20, 2008; 11:24am
URL: http://imagej.273.s1.nabble.com/Launch-a-macro-from-a-command-line-tp3697493.html
Dear all,
I'm using an external notepad to edit ImageJ macros under Windows XP
(namely, Notepad2 from
http://www.flos-freeware.ch/notepad2.html), for
syntax coloring, lines number display, easy indentation, etc...but I would
like to have a simple way to run the macro directly from the notepad in an
already open ImageJ, without having to go into ImageJ, dive into
Plugins/Macros/Run to run it. Is there a simple command line/script that
would allow me to do that ?
On a related note, on OSX it is really easy because you can drag and drop
the icon from the title bar of the notepad window (whatever editor you're
using) into ImageJ and ImageJ will open the macro, so just drag and drop +
command-R and you're good to go !
Thank you,
Christophe Leterrier
Postdoc
INSERM UMR641 Neurobiology of ionic channels
IFR Jean Roche - Mediterranee University
Marseille, France