Jump to content
SoyArcano

Different extension openfiledialog

Recommended Posts

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

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

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...