Login  Register

Macro to browse for a file name

Posted by Jon Harman-3 on Apr 25, 2008; 5:54pm
URL: http://imagej.273.s1.nabble.com/Macro-to-browse-for-a-file-name-tp3696431.html

Hi,

I am not used to writing macros and am having a hard time figuring out
how to do this:

I want to write a macro to import some raw data.  It will use the line:


run("Raw...", "open=filename image=[24-bit RGB] width=360 height=240
offset=0 number=1 gap=0 little-endian");


Is there a macro function to browse for a file that returns the file
name, but does not open it.  I want to let the user browse for the
filename above.

Thanks for any help.

Jon