Julius Ramos Posted January 17, 2006 Share Posted January 17, 2006 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 Link to comment Share on other sites More sharing options...
Oxin8 Posted January 17, 2006 Share Posted January 17, 2006 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) ~My Scripts~ *********_XInput UDF for Xbox 360 ControllerSprayPaint_MouseMovePlus Link to comment Share on other sites More sharing options...
Uten Posted January 13, 2007 Share Posted January 13, 2007 (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 January 13, 2007 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
James Posted January 13, 2007 Share Posted January 13, 2007 This is the same prolem as I am having. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Uten Posted January 13, 2007 Share Posted January 13, 2007 Sorry about my outburst @Oxyn8. Think I will take a timeout now :"> Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now