Login  Register

Re: File.nameWithoutExtension

Posted by Gabriel Landini on Mar 14, 2017; 2:25pm
URL: http://imagej.273.s1.nabble.com/File-nameWithoutExtension-tp5018290p5018291.html

On Tuesday, 14 March 2017 14:01:05 GMT you wrote:

> Dear list and Wayne,
>
> I recently noticed some problems with the function
> File.nameWithoutExtension()
>
> If I open Fiji or ImageJ and run the macro code:
>
> run("Blobs (25K)");
> title=File.nameWithoutExtension();
> print(title);

Hi Kees,
If I have another opened image, it returns the name of that image, not the one
from "Blobs (25K)!

Maybe issuing to load the blobs image is not registered as the last opened
image?
 
Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html