Re: Including folder name in image naming by a macro
Posted by
John Oreopoulos on
Feb 16, 2010; 8:08pm
URL: http://imagej.273.s1.nabble.com/Including-folder-name-in-image-naming-by-a-macro-tp3689365p3689366.html
Oliver, have you tried the "getFileList" macro function?
http://rsbweb.nih.gov/ij/developer/macro/functions.html#getFileListMaybe this will help.
John Oreopoulos, BSc,
PhD Candidate
University of Toronto
Institute For Biomaterials and Biomedical Engineering
Centre For Studies in Molecular Imaging
On 16-Feb-10, at 2:54 PM, Oliver Tills wrote:
> Hi, is there a way when running a macro which is running on images
> in subfolders to use the folder name in the naming of the images
> produced by the macro?
>
> Also, I've succesfully got a macro to run on my PC, but when I try
> to move it across to a Mac it doesn't work. I think the problem
> might be the file extension, how should a Mac file extension be
> written and how do you find it e.g. the C:\\ part of the extension?
>
> Many thanks,
>
> Oli Tills
>
[hidden email]