SoyArcano Posted May 7, 2017 Share Posted May 7, 2017 (edited) Hello i open some dialog i want to use different format's like jpg, png, .txt etcc... I can only do with one: $FILE1 = FileOpenDialog("Select file ...", @ScriptDir, "(*.jpg)") But if i want to use more of one extension i must to include with slash | or how thx! Edited May 7, 2017 by SoyArcano Link to comment Share on other sites More sharing options...
Developers Jos Posted May 7, 2017 Developers Share Posted May 7, 2017 (edited) Have you pressed F1 and read that Helpfile ? It is pretty clearly explained. ;-) Jos Edited May 7, 2017 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
benners Posted May 7, 2017 Share Posted May 7, 2017 FileOpenDialog("Select file ...", @ScriptDir, "Jpeg (*.jpg)|PNG (*.png)|Text (*.txt)") Link to comment Share on other sites More sharing options...
Developers Jos Posted May 7, 2017 Developers Share Posted May 7, 2017 Spoilsport ... :-) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SoyArcano Posted May 7, 2017 Author Share Posted May 7, 2017 (edited) ok sorry i will check the documentation next time thx so will be $FILE1 = FileOpenDialog("Select file ...", @ScriptDir, "(*.jpg)|(*.png)") Edited May 7, 2017 by SoyArcano Link to comment Share on other sites More sharing options...
benners Posted May 7, 2017 Share Posted May 7, 2017 20 minutes ago, Jos said: Spoilsport ... :-) Sorry , I had already submitted before I saw your post and the page refreshed. I will punish myself severely 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