Jump to content

FileSelectFolder


eJan
 Share

Recommended Posts

I'm tryng to have selected existing folder "EditPlus 2", but only solution i have selected is "Program Files", maybe the script isn't good or function doesn't work properly

Posted Image

$message = "Select folder to open"

$open = FileSelectFolder($message, @ProgramFilesDir, -1,  "EditPlus 2")

Link to comment
Share on other sites

Hmm, you need the FULL path to EditPlus 2.... This is not an AutoIt bug, but the function could be improved...

$message = "Select folder to open"
$open = FileSelectFolder($message, @ProgramFilesDir, -1, @ProgramFilesDir & "\EditPlus 2")
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Hmm, you need the FULL path to EditPlus 2.... This is not an AutoIt bug, but the function could be improved...

CODE$message = "Select folder to open"

$open = FileSelectFolder($message, @ProgramFilesDir, -1, @ProgramFilesDir & "\EditPlus 2")

CyberSlug thanks again!
Link to comment
Share on other sites

I'm just working right now to improve it :)

So you could take as initial dir the _relative_ folder under the root dir or the complete path...

Like

FileSelectFolder($message, @ProgramFilesDir, -1, "EditPlus 2")

Link to comment
Share on other sites

I'm just working right now to improve it

So you could take as initial dir the _relative_ folder under the root dir or the complete path...

Like

FileSelectFolder($message, @ProgramFilesDir, -1, "EditPlus 2")

Yes, but then i can't see other folders in @ProgramFilesDir (the path works).

I use CyberSlug suggestion which works exactly as i need.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...