Josbe Posted February 4, 2004 Share Posted February 4, 2004 Someone help me, please. I have a doubt, respect to FileOpenDialog() / FileSaveDialog(),How is the syntax for show more extensions? eg.: Text files (*.txt), All files (*.*)I tested with "@LF" and "\n", but not appears. Really this isn't documented.(if there any way) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
scriptkitty Posted February 4, 2004 Share Posted February 4, 2004 (edited) Do you mean multiple types, liek choose an image? $test=FileOpenDialog( "Choose a file.", "c:\", "My Images (*.jpg;*.bmp)", 1 + 4 ) Or want more file types? $test=FileOpenDialog( "Choose a file.", "c:\", "My Files (*.au3;*.ini;*.zip;*.sys)") Edited February 4, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
CyberSlug Posted February 4, 2004 Share Posted February 4, 2004 (edited) Maybe josbe means multiple separate filters?Screenshot example1) I don't think AutoIt (yet) supports the feature.2) Documentation does need to be improved. Edited February 4, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
trids Posted February 4, 2004 Share Posted February 4, 2004 (edited) I think josbe is asking how to present a second item in the "Files of type:" listbox. In VB you can delimit the items with a pipe symbol (|) .. but this doesn't seem to work in Au3:$test=FileOpenDialog( "Choose a file.", "c:\", "My Images (*.jpg;*.bmp)|All Files (*.*)", 1 + 4 )I do seem to recall that an earlier helpfile mentioned how to do this, but the custom one i have for 3.0.91.0 is silent on the matter. Edited February 4, 2004 by trids Link to comment Share on other sites More sharing options...
Josbe Posted February 5, 2004 Author Share Posted February 5, 2004 Maybe josbe means multiple separate filters?Screenshot example1) I don't think AutoIt (yet) supports the feature.2) Documentation does need to be improved.Thanks.Exactly like the example CyberSlug's in the screenshot (thanks for that) ...Before to ask, I also test like trids suggestion, but is displayed in the same line. Is there any way? AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta 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