Opening a desktop folder from within IDL [message #64491] |
Fri, 02 January 2009 16:41  |
M. Katz
Messages: 69 Registered: May 2005
|
Member |
|
|
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 [message #64571 is a reply to message #64491] |
Fri, 09 January 2009 00:58  |
Michi
Messages: 9 Registered: December 2007
|
Junior Member |
|
|
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.
|
|
|