From: Alex DeCaria Date: 2010-02-10T06:34:45+09:00 Subject: Re: Need Code to Create Directory Picking Dialog Box Albert Schlef wrote: > Albert Schlef wrote: >> You can use a utility like 'dialog' or 'zenity' or 'kdialog': >> >> dir = `zenity --list --title "pick your dir" --column "dir" one two >> three` >> puts dir > > And after visiting its man page I see that you can just do: > > dir = `zenity --file-selection --directory` > puts dir Thanks Albert. I didn't know about zenity or the other utilities. That will come in handy. -- Posted via http://www.ruby-forum.com/.