[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DIALOG_PICKFILE



Virginia Rogers wrote:
> 
> Hi,
> 
> Is there any way to find out the filter that the user entered in
> DIALOG_PICKFILE?  I would like to be able to use the last filter that they typed
> as the default filter the next time they pick a file.
> 
> Thanks!

No. Unfortunately not. Good idea though! Why don't you contact RSI and
file this as a feature request?

Note, however, that Windows users have no way to change the filter
anyway. To quote from the documentation:

"A string value for filtering the files in the file list. This keyword
is used to reduce the number of files to choose from. The user can
modify the filter unless the FIX_FILTER keyword is set. Example filter
values could be '*.pro' or '*.dat'. Only a single filter condition is
allowed.

Under Microsoft Windows, the user cannot modify the filter. (The user
can, however, enter a filter string in the filename field to filter
the files displayed.)On the Macintosh, the filter is not displayed if
the WRITE keyword is set."

Regards,

Martin

-- 
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz   Max-Planck-Institut fuer Meteorologie    [[
[[                      Bundesstr. 55, 20146 Hamburg             [[
[[                      phone: +49 40 41173-308                  [[
[[                      fax:   +49 40 41173-298                  [[
[[ martin.schultz@dkrz.de                                        [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[