Jump to content

SaveDialog Filters


 Share

Recommended Posts

I have A FileSaveDialog() with the filters, Text(*.txt), Ini(*.ini), HTML(*.htm) and All(*.*). How can I get it to add the filter on the end of the file when they press Save so they dont have to type it in?

-Joscpe

Link to comment
Share on other sites

Link to comment
Share on other sites

Link to comment
Share on other sites

If Not StringInStr($FileName, $extension, 0) Then
     $FileName = $FileName & "." & $extension
EndIf

:P Like that?

If Not StringInStr($FileName, $extension, 0, -1) Then
     $FileName = $FileName & "." & $extension
EndIf
Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...