Re: How to open a file in the Fiji script editor from a macro?
Posted by
dscho on
Mar 07, 2014; 10:15am
URL: http://imagej.273.s1.nabble.com/How-to-open-a-file-in-the-Fiji-script-editor-from-a-macro-tp5006811p5006812.html
Hi Juergen,
On Fri, 7 Mar 2014, Jürgen Gluch wrote:
> how can I open a file in the Fiji script editor from a macro? I tried
>
> run("Script", "open=test.txt");
> run("Script", "test.txt");
Please note that ".txt" is a very good file extension for text files; for
macro files, ".ijm" is a good file extension.
With that in mind,
open("/path/to/my-macro.ijm");
does exactly what you want here.
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html