Sign in to follow this  
Followers 0
Julius Ramos

Filter of FileSaveDialog()

5 posts in this topic

i have a multiple filter of saving a file. anyone can help me how to get the filter of FileSaveDialog

e.g.

my filter are --> "Scripts (*.au3)|Text files (*.txt)|All files(*.*)"

if select Text files (*.txt) as my filter. save file must have an extension of .txt

if select Scripts (*.au3) as my filter. save file must have an extension of .au3

anyone can hel me is highly appreciated.

thank you in advance.

julius


-----------------------------------------------------------BSECE, MCPAIM: juliusrmsYM: jivy_21@yahoo.comMSN: juliusLramos@hotmail.comMobile #: (Globe): +639167031989Web: http://www.trendmicro.com

Share this post


Link to post
Share on other sites



I just took this from the help file and added in your filter and it works fine...

$MyDocsFolder = "::{450D8FBA-AD25-11D0-98A8-0800361B1103}"
FileSaveDialog( "Choose a name.", $MyDocsFolder, "Scripts (*.au3)|Text files (*.txt)|All files(*.*)" , 3)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

No, it does not return the extension. Did you read TP at all?

EDIT: At least it does not on W2K-SP4. Autoit-v3.2.2.0

EDIT2: :) This was a different tread, I was in the one by Secure_ICT. Sorry about the above @Oxin8. I was the one not reading TP.

Edited by Uten

Share this post


Link to post
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
Sign in to follow this  
Followers 0