SoyArcano

Different extension openfiledialog

6 posts in this topic

#1 ·  Posted (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 by SoyArcano

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Have you pressed F1 and read that Helpfile ?
It is pretty clearly explained. ;-)

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted

FileOpenDialog("Select file ...", @ScriptDir, "Jpeg (*.jpg)|PNG (*.png)|Text (*.txt)")

 

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

ok sorry i will check the documentation next time thx

so will be

$FILE1 = FileOpenDialog("Select file ...", @ScriptDir, "(*.jpg)|(*.png)")

Edited by SoyArcano

Share this post


Link to post
Share on other sites

#6 ·  Posted

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 :mad2:

Share this post


Link to post
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