Including folder name in image naming by a macro

Posted by otills on
URL: http://imagej.273.s1.nabble.com/Including-folder-name-in-image-naming-by-a-macro-tp3689365.html

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]