comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Opening a desktop folder from within IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Opening a desktop folder from within IDL [message #64491] Fri, 02 January 2009 16:41 Go to next message
M. Katz is currently offline  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 Go to previous message
Michi is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to make a map project in envi
Next Topic: Re: Running IDL remotely - problems with xwindows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:40:02 PDT 2025

Total time taken to generate the page: 0.00490 seconds