Sign in to follow this  
Followers 0
chamach

FileOpenDialog

4 posts in this topic

Hello all of you,

I am currently using this in a script to be able to open AutoIt v2 and v3 using an AutoIt v3 menu :

FileOpenDialog ("Choose an AutoIt script", @ScriptDir, "AutoIt Scripts(*.au*)", 1)

But, I would like to be able to use the "*.txt" filter also. In the ChangeLog.txt file, I have seen that :

3.0.75

- Changed: FileOpenDialog() uses "|" as the delimiter instead of ","

My question is : how to use the delimiter ? Is it really for choosing different file extensions ?

Thanks a lot !


Cervélo Soloist 2004 & Cervélo P3C 2007

Share this post


Link to post
Share on other sites



Think this will work:

FileOpenDialog ("Choose an AutoIt script", @ScriptDir, "AutoIt Scripts(*.au*;*.txt)", 1)

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

It seems that your code is doing the job. Thanks a lot ! :whistle:

May be it could be a good idea to correct the documentation... How can I tell the authors ?


Cervélo Soloist 2004 & Cervélo P3C 2007

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
Sign in to follow this  
Followers 0