Help from UNIX IDL 7.1 Users [message #67657] |
Tue, 18 August 2009 16:17  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I am looking for someone running a UNIX version of
IDL 7.1 to confirm that the problem described in
this article dealing with Dialog_Pickfile has
been fixed.
http://www.dfanning.com/fileio_tips/unixpickfile.html
Specifically, if you specify both a file name and
a path when you call Dialog_Pickfile, and then do
nothing else except hit the Accept button, the file name
that is returned has two paths appended to it and is
bogus.
I am interested in what is in the Selection box,
and what is returned.
I am, say we say, dubious. :-)
Thanks,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Help from UNIX IDL 7.1 Users [message #67867 is a reply to message #67657] |
Tue, 25 August 2009 07:01  |
yp
Messages: 42 Registered: February 2005
|
Member |
|
|
I had encountered with this bug a while ago on Red Hat release 4. The
way around to this was to use EXPAND_PATH() function.
IDL> theDirectory = EXPAND_PATH('~/IDL/coyote/')
IDL> theFile = 'fsc_surface.pro'
IDL> selectedFile = Dialog_Pickfile(FILE=theFile, PATH=theDirectory)
The file selection box still doesn't look right; as you said it
doesn't look right, but it acts right.
On Aug 19, 12:17 am, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I am looking for someone running a UNIX version of
> IDL 7.1 to confirm that the problem described in
> this article dealing with Dialog_Pickfile has
> been fixed.
>
> http://www.dfanning.com/fileio_tips/unixpickfile.html
>
> Specifically, if you specify both a file name and
> a path when you call Dialog_Pickfile, and then do
> nothing else except hit the Accept button, the file name
> that is returned has two paths appended to it and is
> bogus.
>
> I am interested in what is in the Selection box,
> and what is returned.
>
> I am, say we say, dubious. :-)
>
> Thanks,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|