03-21-2015, 02:34 PM
How do I set the default extension to: *.txt, if the filter is:
"exe files[]*.exe[]txt files[]*.txt[]All Files[]*.*[]"
Macro Macro25
I tried the following, but it still keeps the .exe as default extension
Macro Macro25
I assume that normally only folders and .exe are displayed when the opensave dialog is opened, if the below filter is used:
And with 'defExt' I can set another extension to be shown when the opensave dialog is opened.
Alternatively I could set the the 'txt' extension first in the filter, but I was wondering how to use 'defExt'
"exe files[]*.exe[]txt files[]*.txt[]All Files[]*.*[]"
Macro Macro25
str defExt
str s
if OpenSaveDialog(0 s "exe files[]*.exe[]txt files[]*.txt[]All Files[]*.*[]" defExt )
,out s
I tried the following, but it still keeps the .exe as default extension
Macro Macro25
I assume that normally only folders and .exe are displayed when the opensave dialog is opened, if the below filter is used:
And with 'defExt' I can set another extension to be shown when the opensave dialog is opened.
Alternatively I could set the the 'txt' extension first in the filter, but I was wondering how to use 'defExt'