Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Opening a desktop folder from within IDL
From within IDL (without using a DLL) is it possible to open up a given folder on the desktop? I know that on Mac OSX, you can do this spawn, 'open /Users/' spawn, 'open ' + complete_path What would the equivalent Windows and Linux commands be? I am interested in doing this so I can give users a GUI button that quickly opens a "target" directory where output files are written. Thanks, M.
Re: Opening a desktop folder from within IDL
Wouldn't it be easier to use something like this: output_dir = dialog_pickfile(title='title', /directory) Hth, M. On Jan 3, 1:41 am, "M. Katz" <MKatz...@yahoo.com> wrote: > From within IDL (without using a DLL) is it possible to open up a > given folder on the desktop? > > I know that on Mac OSX, you can do this > spawn, 'open /Users/' > spawn, 'open ' + complete_path > > What would the equivalent Windows and Linux commands be? > > I am interested in doing this so I can give users a GUI button that > quickly opens a "target" directory where output files are written. > > Thanks, M.