Re: pickfile(/get_filter) [message #8679] |
Tue, 08 April 1997 00:00 |
Tim Patterson
Messages: 65 Registered: October 1995
|
Member |
|
|
Kelly Dean wrote:
>
> Is there a way to return the filter entered by the user? Pickfile is
> able to return GET_PATH, but I would like to return the filter that the
> user may have used in PICKFILE.
>
> Kelly Dean
> CSU/CIRA
The code for pickfile.pro is in the lib subdirectory of your
idl distribution. You can copy this to your dirtectory and
rename it, pckfile_filter.pro for instance. The change the
actual pcikfile function name to be pickfile_filter and
modify it to return the filter variable (I don't think this
is too hard, but I haven't checked properly!). Then you
can call pickfile_filter( ...other options..., filter)
from your own IDL code and it will return the filter value.
Tim
|
|
|