Login  Register

Re: No Title in Directory Folder Picker

Posted by Robert Lockwood on Mar 01, 2019; 9:53pm
URL: http://imagej.273.s1.nabble.com/No-Title-in-Directory-Folder-Picker-tp5021856p5021862.html

Thanks, Kenneth, but I can't make those lines work with macros, they look
as if they belong in Java code.

On Fri, Mar 1, 2019 at 11:13 AM Kenneth Sloan <[hidden email]>
wrote:

> My usual work-around is to display the prompt message as a status.
>
> In Java:
>
>         String message = "Choose a directory...";
>         IJ.showStatus(message);
>         DirectoryChooser dc = new DirectoryChooser(message);
>
> Others have suggested other fixes, but this was the easiest method for me.
>
>
> --
> Kenneth Sloan
> [hidden email]
> Vision is the art of seeing what is invisible to others.
>
>
>
>
>
> > On Mar 1, 2019, at 12:07, Robert Lockwood <[hidden email]> wrote:
> >
> > In my macro the user is to provide both a source directory and a
> > destination directory but in MacOS 10.14.03, Mojave, there is no title in
> > the folder picker.
> >
> > Macro:
> >  input = getDirectory("Select Source Directory ");
> >  output = getDirectory("Choose Destination Directory ");
> >
> > Google has not been my friend, today.
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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