From: Marnen Laibow-Koser Date: 2010-02-10T10:16:37+09:00 Subject: Re: Need Code to Create Directory Picking Dialog Box Alex DeCaria wrote: > Siep Korteling wrote: >> Alex DeCaria wrote: >>> I figured out how to do it easily using FXRuby. (...) >> >> Then this may be of no use to you (windows only): >> >> >> require 'swin' >> folder = SWin::CommonDialog.selectDirectory(nil, 'Pick your dir.', >> 'C:/windows') >> puts folder >> >> >> Siep > > Siep, > > That is helpful as I am doing mostly windows work. I didn't know about > SWIN. Thanks. --Alex You're probably best using something OS-neutral, though -- there's no reason to introduce an OS dependency for something this trivial n Best, --  Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.