Jump to content

A Doubt For Fileopendialog()


Josbe
 Share

Recommended Posts

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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Maybe josbe means multiple separate filters?

Screenshot example

Posted Image

1) I don't think AutoIt (yet) supports the feature.

2) Documentation does need to be improved.

Edited 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

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. :whistle:

Edited by trids
Link to comment
Share on other sites

Maybe josbe means multiple separate filters?

Screenshot example

Posted Image

1)  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) :angry: ...

Before to ask, I also test like trids suggestion, but is displayed in the same line. B)

Is there any way? :whistle:

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...