From: Marnen Laibow-Koser Date: 2010-02-10T07:39:43+09:00 Subject: Re: Need Code to Create Directory Picking Dialog Box Alex DeCaria wrote: > 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. Neither did I. Those look interesting. Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.