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

Home » Public Forums » archive » Re: Select directory
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
Re: Select directory [message #40051] Mon, 12 July 2004 16:26
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Tukee10 writes:

> I`m trying to interactively change the current directory to any needed
> directory, for example with a graphical user interface. I tried to use
> DIALOG_WRITE_IMAGE, without writing a file (by setting the keyword
> /NOWRITE), sothat I could just change the current directory. But I don`t
> get access to the chosen directory. Is there any way ?

How about something like this:

newDir = Dialog_Pickfile(/Directory)
IF newDir NE "" THEN CD, newDir

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Select directory
Next Topic: Cyclic array interfaces

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

Current Time: Wed Oct 08 18:07:07 PDT 2025

Total time taken to generate the page: 0.00529 seconds