Dampe Posted January 24, 2008 Share Posted January 24, 2008 Hey there. I'm looking for the syntax of joining multiple wildcards For example $scan = "*.bmp" I want to make my $scan variable the wildcard value, but I want the value to support bmp and png Just not sure how to put them into the one string. Link to comment Share on other sites More sharing options...
Dampe Posted January 24, 2008 Author Share Posted January 24, 2008 I hate bumping, but. Bump. Link to comment Share on other sites More sharing options...
JerryD Posted January 24, 2008 Share Posted January 24, 2008 Usually you separate types with a semicolon - just like in Windows Search, so if you wanted to search for *.bmp and *.jpg, you'd use "*.bmp;*.jpg".The same holds true for functions such as FileOpenDialog. From the help page for that function:"Separate the file filters with a semicolon as shown in the example.Multiple groups of filters are separated by a pipe "|"." Link to comment Share on other sites More sharing options...
Dampe Posted January 24, 2008 Author Share Posted January 24, 2008 thanks alot. 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